forked from pool/python-redfish
- 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:
12
collections-python310.patch
Normal file
12
collections-python310.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- python-redfish-library-3.1.0/src/redfish/ris/rmc.py 2022-01-10 14:55:53.000000000 +0100
|
||||
+++ python-redfish-library-3.1.0/src/redfish/ris/rmc.py 2022-01-16 15:02:43.088058912 +0100
|
||||
@@ -15,7 +15,8 @@
|
||||
import copy
|
||||
import shutil
|
||||
import logging
|
||||
-from collections import OrderedDict, Mapping
|
||||
+from collections import OrderedDict
|
||||
+from collections.abc import Mapping
|
||||
|
||||
import jsonpatch
|
||||
import jsonpath_rw
|
@@ -3,6 +3,7 @@ Mon Oct 25 21:00:45 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to version 3.0.3
|
||||
* Added support for performing multi-part HTTP POST requests
|
||||
- add collections-python310.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 30 14:07:40 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
||||
|
@@ -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
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d579ecbb6ffccc68795b5eec65f99f4460a3a0df4ad6b3cdc52927962ae3ab3a
|
||||
size 41801
|
3
redfish-3.1.0.tar.gz
Normal file
3
redfish-3.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:16474191019981ccb24a74f4c442b19b05d8d21e1fbf8b3b6725c2272dac0b23
|
||||
size 40933
|
Reference in New Issue
Block a user