Skip to content

Commit

Permalink
pkg/kamailio: fixed python3 deps for RHEL 6
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-safarov committed Apr 13, 2020
1 parent 28be94e commit 5f31a56
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/kamailio/obs/kamailio.spec
Expand Up @@ -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}
Expand Down

0 comments on commit 5f31a56

Please sign in to comment.