diff --git a/mysqlclient-1.3.12.tar.gz b/mysqlclient-1.3.12.tar.gz deleted file mode 100644 index ea11f37..0000000 Binary files a/mysqlclient-1.3.12.tar.gz and /dev/null differ diff --git a/mysqlclient-2.1.1.tar.gz b/mysqlclient-2.1.1.tar.gz new file mode 100644 index 0000000..961ce0f Binary files /dev/null and b/mysqlclient-2.1.1.tar.gz differ diff --git a/python-mysqlclient.spec b/python-mysqlclient.spec index 90767b1..76bd2d1 100644 --- a/python-mysqlclient.spec +++ b/python-mysqlclient.spec @@ -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 - 2.1.1-1 +- Upgrade to 2.1.1 + * Thu May 19 2022 yanglongkang - 1.3.12-10 - update the spec file to adapt python3.10