Adapt to the new features of python 3.8

This commit is contained in:
jinzhimin369 2020-06-18 17:33:08 +08:00
parent ec8943e605
commit b0de34a6a1

View File

@ -1,6 +1,6 @@
Name: python-mysqlclient
Version: 1.3.12
Release: 7
Release: 8
Summary: MySQL database connector for Python
License: GPLv2+
URL: https://github.com/PyMySQL/mysqlclient-python
@ -110,7 +110,7 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python3}-debug setup.py build
%doc README.md doc/*.rst
%license LICENSE
%{python3_sitearch}/*.py
%{python3_sitearch}/_mysql.cpython-3?m*.so
%{python3_sitearch}/_mysql.cpython-3?*.so
%dir %{python3_sitearch}/__pycache__
%{python3_sitearch}/__pycache__/*
%dir %{python3_sitearch}/MySQLdb
@ -125,8 +125,14 @@ 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?dm*.so
%{python3_sitearch}/_mysql.cpython-3?d*.so
%changelog
* Thu Jun 18 2020 jinzhimin<jinzhimin2@huawei.com> - 1.3.12-8
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:Adapt to the new features of python 3.8
* Fri Feb 14 2020 hy-euler <eulerstoragemt@huawei.com> - 1.3.12-7
- Package Initialization