Module: kamailio
Branch: 5.1
Commit: 6ee5ceb15f20b6b8a3d52d2b2dfecaa1da1792a9
URL:
https://github.com/kamailio/kamailio/commit/6ee5ceb15f20b6b8a3d52d2b2dfecaa…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2019-05-18T19:36:45+03:00
pkg/kamailio/obs: Fixed packaging on Fedora 30 [skip ci]
(cherry picked from commit b2402ec1fdde4584c9061e0a47a92e3328b5e7a8)
---
Modified: pkg/kamailio/obs/kamailio.spec
---
Diff:
https://github.com/kamailio/kamailio/commit/6ee5ceb15f20b6b8a3d52d2b2dfecaa…
Patch:
https://github.com/kamailio/kamailio/commit/6ee5ceb15f20b6b8a3d52d2b2dfecaa…
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index 7e5301b2d3..8803cffd39 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -231,6 +231,10 @@ BuildRequires: python3-devel
%if 0%{?fedora} == 28
BuildRequires: python3-devel
%endif
+%if 0%{?fedora} == 30
+BuildRequires: python3-devel
+%endif
+
%description
Kamailio (former OpenSER) is an Open Source SIP Server released under GPL, able
@@ -325,7 +329,7 @@ Module which provides a mechanism to limit call duration based on
credit informa
%package cpl
Summary: CPL (Call Processing Language) interpreter for Kamailio
Group: System Environment/Daemons
-Requires: libxml2, kamailio = %ver
+Requires: which, libxml2, kamailio = %ver
BuildRequires: libxml2-devel
%description cpl
@@ -942,9 +946,14 @@ UUID module for Kamailio.
%prep
%setup -n %{name}-%{ver}
+%if "%{__python2}" != ""
+ sed -i -e 's:#!/usr/bin/python:#!%{__python2}:'
utils/kamctl/dbtextdb/dbtextdb.py
+%endif
+
ln -s ../obs pkg/kamailio/fedora/27
ln -s ../obs pkg/kamailio/fedora/28
ln -s ../obs pkg/kamailio/fedora/29
+ln -s ../obs pkg/kamailio/fedora/30
ln -s ../obs pkg/kamailio/rhel/6
ln -s ../obs pkg/kamailio/rhel/7
ln -s ../obs pkg/kamailio/opensuse/1315
@@ -1612,6 +1621,7 @@ fi
%doc %{_docdir}/kamailio/modules/README.ims_registrar_pcscf
%doc %{_docdir}/kamailio/modules/README.ims_registrar_scscf
%doc %{_docdir}/kamailio/modules/README.ims_usrloc_pcscf
+%doc %{_docdir}/kamailio/modules/README.ims_usrloc_scscf
%{_libdir}/kamailio/modules/cdp.so
%{_libdir}/kamailio/modules/cdp_avp.so
%{_libdir}/kamailio/modules/ims_auth.so