diff --git a/python-mando.changes b/python-mando.changes index 5a94661..255f8b2 100644 --- a/python-mando.changes +++ b/python-mando.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 29 04:08:07 UTC 2024 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Wed Aug 28 09:19:47 UTC 2024 - pgajdos@suse.com diff --git a/python-mando.spec b/python-mando.spec index 0563731..1503d45 100644 --- a/python-mando.spec +++ b/python-mando.spec @@ -26,7 +26,9 @@ URL: https://mando.readthedocs.org/ Source: https://files.pythonhosted.org/packages/source/m/mando/mando-%{version}.tar.gz # https://github.com/rubik/mando/pull/57 Patch0: python-mando-no-python2.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Suggests: python-rst2ansi @@ -45,10 +47,10 @@ applications. sed -i -e '/^#!\//, 1d' mando/tests/*.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -58,6 +60,6 @@ sed -i -e '/^#!\//, 1d' mando/tests/*.py %license LICENSE %doc README.rst %{python_sitelib}/mando -%{python_sitelib}/mando-*-info +%{python_sitelib}/mando-%{version}.dist-info %changelog