upgrade to 2.1.1(the latest version)

This commit is contained in:
kkz 2022-08-03 13:45:28 +08:00
parent 701a6b3c90
commit 13fdb31773
3 changed files with 8 additions and 8 deletions

Binary file not shown.

BIN
mysqlclient-2.1.1.tar.gz Normal file

Binary file not shown.

View File

@ -1,10 +1,10 @@
Name: python-mysqlclient
Version: 1.3.12
Release: 10
Version: 2.1.1
Release: 1
Summary: MySQL database connector for Python
License: GPLv2+
URL: https://github.com/PyMySQL/mysqlclient-python
Source0: https://pypi.python.org/packages/6f/86/bad31f1c1bb0cc99e88ca2adb7cb5c71f7a6540c1bb001480513de76a931/mysqlclient-1.3.12.tar.gz
Source0: https://files.pythonhosted.org/packages/50/5f/eac919b88b9df39bbe4a855f136d58f80d191cfea34a3dcf96bf5d8ace0a/mysqlclient-2.1.1.tar.gz
BuildRequires: gcc mariadb-connector-c-devel openssl-devel zlib-devel
BuildRequires: python3-devel python3-setuptools python3-debug
@ -56,12 +56,9 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python3}-debug setup.py build
%files -n python3-mysqlclient
%doc README.md doc/*.rst
%license LICENSE
%{python3_sitearch}/*.py
%{python3_sitearch}/_mysql.cpython-3?*.so
%dir %{python3_sitearch}/__pycache__
%{python3_sitearch}/__pycache__/*
%dir %{python3_sitearch}/MySQLdb
%{python3_sitearch}/MySQLdb/*.py
%{python3_sitearch}/MySQLdb/_mysql.cpython-3?*.so
%dir %{python3_sitearch}/MySQLdb/__pycache__
%{python3_sitearch}/MySQLdb/__pycache__/*
%dir %{python3_sitearch}/MySQLdb/constants
@ -72,9 +69,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-31?d*.so
%{python3_sitearch}/MySQLdb/_mysql.cpython-3*d*.so
%changelog
* Wed Aug 03 2022 kkz <zhaoshuang@uniontech.com> - 2.1.1-1
- Upgrade to 2.1.1
* Thu May 19 2022 yanglongkang <yanglongkang@h-partners.com> - 1.3.12-10
- update the spec file to adapt python3.10