diff --git a/python-mailmanclient.changes b/python-mailmanclient.changes index f545345..96ea138 100644 --- a/python-mailmanclient.changes +++ b/python-mailmanclient.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 29 20:26:33 UTC 2024 - Ben Greiner + +- Build PEP517 wheel + ------------------------------------------------------------------- Tue Feb 20 13:23:35 UTC 2024 - Markéta Machová diff --git a/python-mailmanclient.spec b/python-mailmanclient.spec index 1afa14b..4667da8 100644 --- a/python-mailmanclient.spec +++ b/python-mailmanclient.spec @@ -25,7 +25,9 @@ License: LGPL-3.0-only Group: Productivity/Networking/Email/Mailinglists URL: https://www.list.org/ Source: https://files.pythonhosted.org/packages/source/m/mailmanclient/mailmanclient-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-requests @@ -59,10 +61,10 @@ sed -i 's/six.moves.urllib_error/urllib.error/' src/mailmanclient/tests/test_dom %build export LC_ALL=C.UTF-8 -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -78,6 +80,6 @@ export LC_ALL=C.UTF-8 %doc README.rst %license COPYING.LESSER %{python_sitelib}/mailmanclient -%{python_sitelib}/mailmanclient-%{version}*-info +%{python_sitelib}/mailmanclient-%{version}.dist-info %changelog