14
0

- add collections-python310.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redfish?expand=0&rev=13
This commit is contained in:
2022-01-16 14:08:07 +00:00
committed by Git OBS Bridge
parent f545f15333
commit 955149d5bb
5 changed files with 23 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-redfish
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2020-2021, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -19,19 +19,22 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-redfish
Version: 3.0.3
Version: 3.1.0
Release: 0
Summary: Redfish Python Library
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/DMTF/python-redfish-library
Source: https://github.com/DMTF/python-redfish-library/archive/%{version}.tar.gz#/redfish-%{version}.tar.gz
# submitted as gh#DMTF/python-redfish-library#118
Patch1: collections-python310.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-jsonpatch
Requires: python-jsonpath-rw
Requires: python-jsonpointer
Requires: python-requests
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module jsonpatch}
@@ -40,6 +43,7 @@ BuildRequires: %{python_module jsonpointer}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests-toolbelt}
BuildRequires: %{python_module requests}
# /SECTION
%python_subpackages
@@ -49,7 +53,7 @@ PUT, PATCH and DELETE on resources using the HATEOAS (Hypermedia as
the Engine of Application State) Redfish architecture.
%prep
%setup -q -n %{name}-library-%{version}
%autosetup -p1 -n %{name}-library-%{version}
%build
%python_build