Browse code

packaging: on EL8 package with Python 3.9

(cherry picked from commit c938619e458e0efa0676e7e60c2b1a6fc7e947db)

Anthony Alba authored on 11/06/2022 01:05:26 • Sergey Safarov committed on 16/08/2022 17:51:48
Showing 1 changed files
... ...
@@ -774,6 +774,10 @@ BuildRequires:  python2, python2-devel
774 774
 %if 0%{?rhel} == 7
775 775
 Requires:   python36, kamailio = %ver
776 776
 BuildRequires:  python36, python36-devel
777
+%endif
778
+%if 0%{?rhel} == 8
779
+Requires:   python39, kamailio = %ver
780
+BuildRequires:  python39, python39-devel
777 781
 %else
778 782
 Requires:   python3, kamailio = %ver
779 783
 BuildRequires:  python3, python3-devel
... ...
@@ -1141,6 +1145,9 @@ make every-module skip_modules="app_mono db_cassandra db_oracle iptrtpproxy \
1141 1145
 %endif
1142 1146
 %if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} == 8
1143 1147
     FREERADIUS=1 \
1148
+%endif
1149
+%if 0%{?rhel} == 8
1150
+    PYTHON3=python3.9 \
1144 1151
 %endif
1145 1152
     group_include="kstandard kautheph kberkeley kcarrierroute \
1146 1153
 %if %{with cnxcc}
... ...
@@ -1239,6 +1246,9 @@ make install-modules-all skip_modules="app_mono db_cassandra db_oracle \
1239 1246
 %endif
1240 1247
 %if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} == 8
1241 1248
     FREERADIUS=1 \
1249
+%endif
1250
+%if 0%{?rhel} == 8
1251
+    PYTHON3=python3.9 \
1242 1252
 %endif
1243 1253
     group_include="kstandard kautheph kberkeley kcarrierroute \
1244 1254
 %if %{with cnxcc}