!8 更新sepc文件以适配python3.10的编译

From: @markeryang 
Reviewed-by: @myeuler 
Signed-off-by: @myeuler
This commit is contained in:
openeuler-ci-bot 2022-05-19 06:47:05 +00:00 committed by Gitee
commit 701a6b3c90
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: python-mysqlclient Name: python-mysqlclient
Version: 1.3.12 Version: 1.3.12
Release: 9 Release: 10
Summary: MySQL database connector for Python Summary: MySQL database connector for Python
License: GPLv2+ License: GPLv2+
URL: https://github.com/PyMySQL/mysqlclient-python 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/* %{python3_sitearch}/mysqlclient-%{version}-py3.*.egg-info/*
%files -n python3-mysqlclient-debug %files -n python3-mysqlclient-debug
%{python3_sitearch}/_mysql.cpython-3?d*.so %{python3_sitearch}/_mysql.cpython-31?d*.so
%changelog %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 * Fri Oct 30 2020 yanglongkang <yanglongkang@huawei.com> - 1.3.12-9
- remove python2 dependency - remove python2 dependency