Skip to content

Commit

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

0 comments on commit fc28a14

Please sign in to comment.