Module: kamailio
Branch: master
Commit: 5f31a56acd25f892e6275e6ac786677f2eb2be0c
URL:
https://github.com/kamailio/kamailio/commit/5f31a56acd25f892e6275e6ac786677…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2020-04-13T17:15:15+03:00
pkg/kamailio: fixed python3 deps for RHEL 6
---
Modified: pkg/kamailio/obs/kamailio.spec
---
Diff:
https://github.com/kamailio/kamailio/commit/5f31a56acd25f892e6275e6ac786677…
Patch:
https://github.com/kamailio/kamailio/commit/5f31a56acd25f892e6275e6ac786677…
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index f00d55058e..3c68a9a002 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -1113,6 +1113,10 @@ UUID module for Kamailio.
%prep
%setup -n %{name}-%{ver}
+# python3 does not exist in RHEL 6 and similar dist.
+%if 0%{?rhel} == 6
+sed -i -e 's/python3/python2/' utils/kamctl/dbtextdb/dbtextdb.py
+%endif
%build
ln -s ../obs pkg/kamailio/%{dist_name}/%{dist_version}