Module: kamailio Branch: master Commit: 9889eaf0d05c743352a298f03e095c7445f56ce9 URL: https://github.com/kamailio/kamailio/commit/9889eaf0d05c743352a298f03e095c74...
Author: Sergey Safarov s.safarov@gmail.com Committer: Sergey Safarov s.safarov@gmail.com Date: 2017-09-22T04:28:17-04:00
pkg/kamailio/obs Fixed build of perl module
---
Modified: pkg/kamailio/obs/kamailio.spec
---
Diff: https://github.com/kamailio/kamailio/commit/9889eaf0d05c743352a298f03e095c74... Patch: https://github.com/kamailio/kamailio/commit/9889eaf0d05c743352a298f03e095c74...
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec index f0ab5e7d43..2d4617b0ff 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.