Sync from SUSE:SLFO:Main python-mysqlclient revision 7e88bebfced8c265379411d3f26f6146

This commit is contained in:
Adrian Schröter 2024-12-10 16:29:50 +01:00
parent db2c1dbee1
commit ef7bcb1f18
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Jul 26 07:14:20 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com>
- Drop sphinx doctrees for reproducible builds
-------------------------------------------------------------------
Sun Jun 25 08:28:34 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>
- Use sle15_python_module_pythons
-------------------------------------------------------------------
Wed May 3 11:10:33 UTC 2023 - Martin Liška <mliska@suse.cz>

View File

@ -16,9 +16,7 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# Python2 support has been dropped in version 2.0.0
%define skip_python2 1
%{?sle15_python_module_pythons}
%define oldpython python
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
@ -74,7 +72,7 @@ This package adds Python 3 support and bug fixes to MySQLdb1.
%if !%{with test}
%python_build
sphinx-build -b html doc build/sphinx/html && rm build/sphinx/html/.buildinfo
sphinx-build -b html doc build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees}
%endif
%check