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 19:40:00
Showing 1 changed files
... ...
@@ -807,6 +807,10 @@ BuildRequires:  python2, python2-devel
807 807
 %if 0%{?rhel} == 7
808 808
 Requires:   python36, kamailio = %ver
809 809
 BuildRequires:  python36, python36-devel
810
+%endif
811
+%if 0%{?rhel} == 8
812
+Requires:   python39, kamailio = %ver
813
+BuildRequires:  python39, python39-devel
810 814
 %else
811 815
 Requires:   python3, kamailio = %ver
812 816
 BuildRequires:  python3, python3-devel
... ...
@@ -1174,6 +1178,9 @@ make every-module skip_modules="app_mono db_cassandra db_oracle iptrtpproxy \
1174 1178
 %endif
1175 1179
 %if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} == 8
1176 1180
     FREERADIUS=1 \
1181
+%endif
1182
+%if 0%{?rhel} == 8
1183
+    PYTHON3=python3.9 \
1177 1184
 %endif
1178 1185
     group_include="kstandard kautheph kberkeley kcarrierroute \
1179 1186
 %if %{with cnxcc}
... ...
@@ -1269,6 +1276,9 @@ make install-modules-all skip_modules="app_mono db_cassandra db_oracle \
1269 1276
 %endif
1270 1277
 %if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} == 8
1271 1278
     FREERADIUS=1 \
1279
+%endif
1280
+%if 0%{?rhel} == 8
1281
+    PYTHON3=python3.9 \
1272 1282
 %endif
1273 1283
     group_include="kstandard kautheph kberkeley kcarrierroute \
1274 1284
 %if %{with cnxcc}