diff --git a/python-wrapt.changes b/python-wrapt.changes index 9b12733..bddf7f1 100644 --- a/python-wrapt.changes +++ b/python-wrapt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 13 02:42:47 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Fri Feb 28 08:57:55 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-wrapt.spec b/python-wrapt.spec index d5c1e59..3954ba1 100644 --- a/python-wrapt.spec +++ b/python-wrapt.spec @@ -27,8 +27,10 @@ Group: Development/Languages/Python URL: https://github.com/GrahamDumpleton/wrapt Source: https://github.com/GrahamDumpleton/wrapt/archive/%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros %python_subpackages @@ -62,10 +64,10 @@ For further information on the **wrapt** module see: %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check @@ -75,6 +77,6 @@ export CFLAGS="%{optflags}" %license LICENSE %doc README.rst docs/changes.rst %{python_sitearch}/wrapt -%{python_sitearch}/wrapt-%{version}*-info +%{python_sitearch}/wrapt-%{version}.dist-info %changelog