Module: kamailio
Branch: 5.0
Commit: df28d3bc4933c148d8a1c2963326ad6119123dad
URL:
https://github.com/kamailio/kamailio/commit/df28d3bc4933c148d8a1c2963326ad6…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2017-10-27T04:05:11-04:00
pkg/kamailio/obs Fixed build of perl module
---
Modified: pkg/kamailio/obs/kamailio.spec
---
Diff:
https://github.com/kamailio/kamailio/commit/df28d3bc4933c148d8a1c2963326ad6…
Patch:
https://github.com/kamailio/kamailio/commit/df28d3bc4933c148d8a1c2963326ad6…
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index ad68553086..20ddb3e047 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -13,6 +13,7 @@
%bcond_without json
%bcond_without kazoo
%bcond_without memcached
+%bcond_without perl
%bcond_without redis
%bcond_without sctp
%bcond_without websocket
@@ -30,6 +31,7 @@
%bcond_without json
%bcond_without kazoo
%bcond_without memcached
+%bcond_without perl
%bcond_without redis
%bcond_without sctp
%bcond_without websocket
@@ -47,6 +49,7 @@
%bcond_without json
%bcond_without kazoo
%bcond_without memcached
+%bcond_without perl
%bcond_without redis
%bcond_without sctp
%bcond_without websocket
@@ -64,6 +67,7 @@
%bcond_with json
%bcond_with kazoo
%bcond_without memcached
+%bcond_without perl
%bcond_with redis
%bcond_without sctp
%bcond_without websocket
@@ -82,6 +86,7 @@
%bcond_without json
%bcond_without kazoo
%bcond_without memcached
+%bcond_without perl
%bcond_without redis
%bcond_without sctp
%bcond_without websocket
@@ -99,6 +104,7 @@
%bcond_without json
%bcond_with kazoo
%bcond_without memcached
+%bcond_without perl
%bcond_without redis
%bcond_without sctp
%bcond_without websocket
@@ -116,6 +122,7 @@
%bcond_with json
%bcond_with kazoo
%bcond_with memcached
+%bcond_with perl
%bcond_with redis
%bcond_with sctp
%bcond_with websocket
@@ -133,6 +140,7 @@
%bcond_with json
%bcond_with kazoo
%bcond_with memcached
+%bcond_without perl
%bcond_without redis
%bcond_with sctp
%bcond_with websocket
@@ -531,8 +539,14 @@ Protocol (SIP)" support for Kamailio.
%package perl
Summary: Perl extensions and database driver for Kamailio
Group: System Environment/Daemons
-Requires: mod_perl, kamailio = %ver
+Requires: kamailio = %ver
+%if 0%{?leap_version}
+Requires: perl
+BuildRequires: perl
+%else
+Requires: mod_perl
BuildRequires: mod_perl-devel
+%endif
%description perl
Perl extensions and database driver for Kamailio.