From 44b47905adc04f4026506e380550aabcdb69dfc1 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 14 Jul 2020 01:50:38 +0000 Subject: [PATCH] import python-rtslib-2.1.73-1.el8 --- .gitignore | 2 +- .python-rtslib.metadata | 2 +- SOURCES/0002-default_dbroot.patch | 4 ++-- SPECS/python-rtslib.spec | 5 ++++- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 233ed9b..3220bc4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/rtslib-fb-2.1.72.tar.gz +SOURCES/rtslib-fb-2.1.73.tar.gz diff --git a/.python-rtslib.metadata b/.python-rtslib.metadata index 7bc5db4..ab92157 100644 --- a/.python-rtslib.metadata +++ b/.python-rtslib.metadata @@ -1 +1 @@ -b44c8b66a8002c4d7eb6203639d151b0c956b11e SOURCES/rtslib-fb-2.1.72.tar.gz +e9ed6768e70e1da748972b6e350f620db53a53ec SOURCES/rtslib-fb-2.1.73.tar.gz diff --git a/SOURCES/0002-default_dbroot.patch b/SOURCES/0002-default_dbroot.patch index e381561..1317489 100644 --- a/SOURCES/0002-default_dbroot.patch +++ b/SOURCES/0002-default_dbroot.patch @@ -1,5 +1,5 @@ diff --git a/rtslib/root.py b/rtslib/root.py -index 15d8cc5..c4a6d43 100644 +index 2c5cf43..34bc57d 100644 --- a/rtslib/root.py +++ b/rtslib/root.py @@ -166,21 +166,21 @@ class RTSRoot(CFSNode): @@ -8,7 +8,7 @@ index 15d8cc5..c4a6d43 100644 self._dbroot = fread(dbroot_path) - if self._dbroot != self._preferred_dbroot: + if self._dbroot != self._default_dbroot: - if len(FabricModule.list_registered_drivers()) is not 0: + if len(FabricModule.list_registered_drivers()) != 0: # Writing to dbroot_path after drivers have been registered will make the kernel emit this error: # db_root: cannot be changed: target drivers registered from warnings import warn diff --git a/SPECS/python-rtslib.spec b/SPECS/python-rtslib.spec index 04902a1..2ce2b09 100644 --- a/SPECS/python-rtslib.spec +++ b/SPECS/python-rtslib.spec @@ -21,7 +21,7 @@ Name: python-rtslib License: ASL 2.0 Group: System Environment/Libraries Summary: API for Linux kernel LIO SCSI target -Version: 2.1.72 +Version: 2.1.73 Release: 1%{?dist} URL: https://github.com/open-iscsi/%{oname} Source: %{url}/archive/v%{version}/%{oname}-%{version}.tar.gz @@ -191,6 +191,9 @@ install -m 644 doc/saveconfig.json.5.gz %{buildroot}%{_mandir}/man5/ %endif # with python2 %changelog +* Thu Jun 25 2020 Maurizio Lombardi - 2.1.73-1 +- Update to new upstream version + * Mon May 11 2020 Maurizio Lombardi - 2.1.72-1 - Update to new upstream version