diff --git a/python-redfish.changes b/python-redfish.changes index cd65e70..284bc9a 100644 --- a/python-redfish.changes +++ b/python-redfish.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 24 02:21:53 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Fri Mar 28 19:50:46 UTC 2025 - Martin Hauke diff --git a/python-redfish.spec b/python-redfish.spec index 47a0f24..11b4ba9 100644 --- a/python-redfish.spec +++ b/python-redfish.spec @@ -24,7 +24,9 @@ Summary: Redfish Python Library License: BSD-3-Clause URL: https://github.com/DMTF/python-redfish-library Source: https://github.com/DMTF/python-redfish-library/archive/%{version}.tar.gz#/redfish-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-jsonpatch @@ -54,10 +56,10 @@ the Engine of Application State) Redfish architecture. %autosetup -p1 -n %{name}-library-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -66,6 +68,7 @@ the Engine of Application State) Redfish architecture. %files %{python_files} %license LICENSE.md %doc README.rst CHANGELOG.md -%{python_sitelib}/redfish* +%{python_sitelib}/redfish +%{python_sitelib}/redfish-%{version}.dist-info %changelog