update the spec file to adapt python3.10

This commit is contained in:
markeryang 2022-05-19 14:21:11 +08:00
parent 4855c1adfe
commit 207087b843

View File

@ -1,6 +1,6 @@
Name: python-mysqlclient
Version: 1.3.12
Release: 9
Release: 10
Summary: MySQL database connector for Python
License: GPLv2+
URL: https://github.com/PyMySQL/mysqlclient-python
@ -72,9 +72,12 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python3}-debug setup.py build
%{python3_sitearch}/mysqlclient-%{version}-py3.*.egg-info/*
%files -n python3-mysqlclient-debug
%{python3_sitearch}/_mysql.cpython-3?d*.so
%{python3_sitearch}/_mysql.cpython-31?d*.so
%changelog
* Thu May 19 2022 yanglongkang <yanglongkang@h-partners.com> - 1.3.12-10
- update the spec file to adapt python3.10
* Fri Oct 30 2020 yanglongkang <yanglongkang@huawei.com> - 1.3.12-9
- remove python2 dependency