Skip to content

Commit

Permalink
packaging: on EL8 package with Python 3.9
Browse files Browse the repository at this point in the history
(cherry picked from commit c938619)
  • Loading branch information
aalba6675 authored and sergey-safarov committed Jun 11, 2022
1 parent 824867f commit b552a27
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkg/kamailio/obs/kamailio.spec
Expand Up @@ -794,6 +794,10 @@ BuildRequires: python2, python2-devel
%if 0%{?rhel} == 7
Requires: python36, kamailio = %ver
BuildRequires: python36, python36-devel
%endif
%if 0%{?rhel} == 8
Requires: python39, kamailio = %ver
BuildRequires: python39, python39-devel
%else
Requires: python3, kamailio = %ver
BuildRequires: python3, python3-devel
Expand Down Expand Up @@ -1178,6 +1182,9 @@ make every-module skip_modules="app_mono db_cassandra db_oracle iptrtpproxy \
%endif
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} == 8
FREERADIUS=1 \
%endif
%if 0%{?rhel} == 8
PYTHON3=python3.9 \
%endif
group_include="kstandard kautheph kberkeley kcarrierroute \
%if %{with cnxcc}
Expand Down Expand Up @@ -1279,6 +1286,9 @@ make install-modules-all skip_modules="app_mono db_cassandra db_oracle \
%endif
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} == 8
FREERADIUS=1 \
%endif
%if 0%{?rhel} == 8
PYTHON3=python3.9 \
%endif
group_include="kstandard kautheph kberkeley kcarrierroute \
%if %{with cnxcc}
Expand Down

0 comments on commit b552a27

Please sign in to comment.