diff --git a/python-mysqlclient.changes b/python-mysqlclient.changes index 0b153b7..a655d65 100644 --- a/python-mysqlclient.changes +++ b/python-mysqlclient.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 5 04:38:05 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Tue Feb 11 09:43:57 UTC 2025 - pgajdos@suse.com diff --git a/python-mysqlclient.spec b/python-mysqlclient.spec index 5dec8f2..86d48f9 100644 --- a/python-mysqlclient.spec +++ b/python-mysqlclient.spec @@ -34,7 +34,9 @@ License: GPL-2.0-or-later URL: https://github.com/PyMySQL/mysqlclient-python Source: https://files.pythonhosted.org/packages/source/m/mysqlclient/mysqlclient-%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: libmysqlclient-devel @@ -83,7 +85,7 @@ dos2unix doc/*.rst README.md MANIFEST.in HISTORY.rst %build %if !%{with test} -%python_build +%pyproject_wheel sphinx-build -b html doc build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees} %endif @@ -114,7 +116,7 @@ exit $exit_code %install %if !%{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} mkdir -p %{buildroot}%{_docdir}/python-mysqlclient/