File tree Expand file tree Collapse file tree 2 files changed +16
-10
lines changed
mysql-connector-python/cpydist/data/rpm
mysqlx-connector-python/cpydist/data/rpm Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 3737
3838%if 0%{?suse_version } == 1500
3939%global dist .sl15
40- %global __python3 /usr/bin/python3.9
41- %global python3_sitearch %{_libdir }/python3.9 /site-packages
40+ %global __python3 /usr/bin/python3.11
41+ %global python3_sitearch %{_libdir }/python3.11 /site-packages
4242%endif
4343
4444# SCL is used on el7 https://www.softwarecollections.org/en/docs/guide/
@@ -102,8 +102,8 @@ BuildRequires: python3-setuptools
102102%endif
103103
104104%if 0%{?suse_version } == 1500
105- BuildRequires: python39 -devel
106- BuildRequires: python39 -setuptools
105+ BuildRequires: python311 -devel
106+ BuildRequires: python311 -setuptools
107107%endif
108108
109109%if 0%{?rhel } == 7
@@ -157,7 +157,7 @@ Requires: python3
157157%endif
158158
159159%if 0%{?suse_version } == 1500
160- Requires: python39
160+ Requires: python311
161161%endif
162162
163163%if 0%{?rhel } == 7
@@ -243,6 +243,9 @@ cd mysql-connector-python
243243%{python3_sitearch}/_mysql_connector.cpython*.so
244244
245245%changelog
246+ * Wed Dec 6 2023 Oscar Pacheco <oscar.p.pacheco@oracle.com> - 8.3.0-1
247+ - Updated Python version for openSUSE 15 from 3.9 to 3.11
248+
246249* Fri Dec 1 2023 Oscar Pacheco <oscar.p.pacheco@oracle.com> - 8.3.0-1
247250- Updated for 8.3.0
248251
Original file line number Diff line number Diff line change 3737
3838%if 0%{?suse_version } == 1500
3939%global dist .sl15
40- %global __python3 /usr/bin/python3.9
41- %global python3_sitearch %{_libdir }/python3.9 /site-packages
40+ %global __python3 /usr/bin/python3.11
41+ %global python3_sitearch %{_libdir }/python3.11 /site-packages
4242%endif
4343
4444# SCL is used on el7 https://www.softwarecollections.org/en/docs/guide/
@@ -97,8 +97,8 @@ BuildRequires: python3-setuptools
9797%endif
9898
9999%if 0%{?suse_version } == 1500
100- BuildRequires: python39 -devel
101- BuildRequires: python39 -setuptools
100+ BuildRequires: python311 -devel
101+ BuildRequires: python311 -setuptools
102102%endif
103103
104104%if 0%{?rhel } == 7
@@ -152,7 +152,7 @@ Requires: python3
152152%endif
153153
154154%if 0%{?suse_version } == 1500
155- Requires: python39
155+ Requires: python311
156156%endif
157157
158158%if 0%{?rhel } == 7
@@ -234,6 +234,9 @@ sed -i -e '/protobuf/d' %{buildroot}%{python3_sitearch}/mysqlx_connector_python-
234234%{python3_sitearch}/_mysqlxpb.cpython*.so
235235
236236%changelog
237+ * Wed Dec 6 2023 Oscar Pacheco <oscar.p.pacheco@oracle.com> - 8.3.0-1
238+ - Updated Python version for openSUSE 15 from 3.9 to 3.11
239+
237240* Fri Dec 1 2023 Oscar Pacheco <oscar.p.pacheco@oracle.com> - 8.3.0-1
238241- Updated for 8.3.0
239242
You can’t perform that action at this time.
0 commit comments