Module: kamailio
Branch: 5.3
Commit: fc28a14203f59c62d2c745ffd294a5091bf8cb26
URL:
https://github.com/kamailio/kamailio/commit/fc28a14203f59c62d2c745ffd294a50…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2020-05-13T12:23:08Z
pkg/kamailio: fixed python3 deps for RHEL 6
(cherry picked from commit 5f31a56acd25f892e6275e6ac786677f2eb2be0c)
---
Modified: pkg/kamailio/obs/kamailio.spec
---
Diff:
https://github.com/kamailio/kamailio/commit/fc28a14203f59c62d2c745ffd294a50…
Patch:
https://github.com/kamailio/kamailio/commit/fc28a14203f59c62d2c745ffd294a50…
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index 76c08aa81c..aa5269e62c 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -1109,6 +1109,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}