forked from pool/python-redfish
Accepting request 1288109 from devel:languages:python
- Switch to pyproject macros. OBS-URL: https://build.opensuse.org/request/show/1288109 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-redfish?expand=0&rev=23
This commit is contained in:
@@ -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>
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user