14
0

- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redfish?expand=0&rev=43
This commit is contained in:
2025-06-24 02:23:53 +00:00
committed by Git OBS Bridge
parent a2c0c2c5e3
commit 1bdbd52f6d
2 changed files with 11 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 24 02:21:53 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Fri Mar 28 19:50:46 UTC 2025 - Martin Hauke <mardnh@gmx.de>

View File

@@ -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