Hello community,
here is the log from the commit of package python-rtslib-fb for
openSUSE:Leap:15.2 checked in at 2020-03-13 10:57:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-rtslib-fb (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-rtslib-fb.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-rtslib-fb"
Fri Mar 13 10:57:49 2020 rev:37 rq:783407 version:2.1.71
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-rtslib-fb/python-rtslib-fb.changes
2020-01-15 15:52:45.187574166 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-rtslib-fb.new.3160/python-rtslib-fb.changes
2020-03-13 10:59:03.516506697 +0100
@@ -1,0 +2,39 @@
+Tue Mar 03 15:46:53 UTC 2020 - [email protected]
+
+- Update to version v2.1.71 (jre#SLE-7751):
+ * version 2.1.71
+ * restoreconfig: fix skipping of targets [re]loading
+ Replacing python-rtslib-fb-v2.1.70.tar.xz with
python-rtslib-fb-v2.1.71.tar.xz
+
+-------------------------------------------------------------------
+Mon Sep 16 18:14:18 UTC 2019 - [email protected]
+
+- Update to version v2.1.70:
+ * version 2.1.70
+ * restoreconfig: add ability to restore/reload single target or
storage_object
+ * rtslib: fix __version__
+ * saveconfig: add hw_block_size support in control string
+ * remove extra semicolons in _get_saveconf
+ * Add 'readable' param to Group list_*() methods
+ * Handle write-only parameters like attributes
+ * save_to_file() function breaks symbolic link when saving configuration
+ * Handle write-only attributes.
+ * Allow bs_cache to be bypassed
+ * report the correct size for partitions
+ * restoreconfig: support restore when list is non-empty
+ Replacing python-rtslib-fb-2.1.69.tar.xz with
python-rtslib-fb-v2.1.70.tar.xz,
+ and removing patches:
+ * 0001-Handle-write-only-attributes.patch
+ * 0002-Handle-write-only-parameters-like-attributes.patch
+ * 0003-Add-readable-param-to-Group-list_-methods.patch
+
+-------------------------------------------------------------------
+Mon Feb 18 17:56:57 UTC 2019 - [email protected]
+
+- Added 3 patches subbmitted and accepted upstream, to deal with
+ possibly-write-only sysfs attributes (bsc#1123933), adding:
+ * 0001-Handle-write-only-attributes.patch
+ * 0002-Handle-write-only-parameters-like-attributes.patch
+ * 0003-Add-readable-param-to-Group-list_-methods.patch
+
+-------------------------------------------------------------------
Old:
----
python-rtslib-fb-2.1.69.tar.xz
New:
----
python-rtslib-fb-v2.1.71.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-rtslib-fb.spec ++++++
--- /var/tmp/diff_new_pack.3TKMFb/_old 2020-03-13 10:59:04.008507047 +0100
+++ /var/tmp/diff_new_pack.3TKMFb/_new 2020-03-13 10:59:04.008507047 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-rtslib-fb
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,13 @@
%define dbdir %{_sysconfdir}/target
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-rtslib-fb
-Version: 2.1.69
+Version: 2.1.71
Release: 0%{?dist}
Summary: API for Linux kernel SCSI target (aka LIO)
License: Apache-2.0
Group: Development/Languages/Python
-Url: http://github.com/open-iscsi/rtslib-fb.git
-Source: %{name}-%{version}.tar.xz
+URL: https://github.com/open-iscsi/rtslib-fb.git
+Source: %{name}-v%{version}.tar.xz
Patch1: rbd-support.patch
BuildRequires: %{python_module pyudev}
BuildRequires: %{python_module setuptools}
@@ -36,7 +36,7 @@
Requires(post): update-alternatives
Requires(postun): update-alternatives
Provides: python-rtslib = %{version}-%{release}
-Obsoletes: python-rtslib
+Obsoletes: python-rtslib < %{version}
%if 0%{?sle_version} >= 150000
# explicit Provides advertising RBD support
Provides: python-rtslib-rbd = %{version}
@@ -51,7 +51,7 @@
the Apache 2.0 license. Contributions are welcome
%prep
-%setup -q
+%setup -q -n %{name}-v%{version}
%if 0%{?sle_version} >= 150000
# RBD support is dependent on LIO changes present in the SLE/Leap kernel
%patch1 -p1
@@ -83,7 +83,8 @@
%files %{python_files}
%python_alternative %{_bindir}/targetctl
%{python_sitelib}/*
-%doc COPYING README.md
+%license COPYING
+%doc README.md
%doc %python_alternative %{_mandir}/man5/saveconfig.json.5.gz
%doc %python_alternative %{_mandir}/man8/targetctl.8.gz
%dir %{dbdir}
++++++ _service ++++++
--- /var/tmp/diff_new_pack.3TKMFb/_old 2020-03-13 10:59:04.028507061 +0100
+++ /var/tmp/diff_new_pack.3TKMFb/_new 2020-03-13 10:59:04.028507061 +0100
@@ -7,7 +7,7 @@
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(\d*\.\d*\.)fb(\d*)</param>
<param name="versionrewrite-replacement">\1\2</param>
- <param name="revision">v2.1.fb69</param>
+ <param name="revision">v2.1.71</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="disabled">
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.3TKMFb/_old 2020-03-13 10:59:04.044507072 +0100
+++ /var/tmp/diff_new_pack.3TKMFb/_new 2020-03-13 10:59:04.044507072 +0100
@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param
name="url">https://github.com/open-iscsi/rtslib-fb.git</param>
- <param
name="changesrevision">b2ec3746fb772aa3ff8b8853965292ca7dc2d7b1</param></service></servicedata>
\ No newline at end of file
+ <param
name="changesrevision">b37bc67fc7ed3d1ec447e9f43eb68d30dd716367</param></service></servicedata>
\ No newline at end of file
++++++ rbd-support.patch ++++++
--- /var/tmp/diff_new_pack.3TKMFb/_old 2020-03-13 10:59:04.052507078 +0100
+++ /var/tmp/diff_new_pack.3TKMFb/_new 2020-03-13 10:59:04.052507078 +0100
@@ -8,12 +8,10 @@
Reviewed-by: David Disseldorp <[email protected]>
---
- rtslib/__init__.py | 1 +
- rtslib/tcm.py | 103 +++++++++++++++++++++++++++++++++++++++++++++++++++++
+ rtslib/__init__.py | 1
+ rtslib/tcm.py | 103
+++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 104 insertions(+)
-diff --git a/rtslib/__init__.py b/rtslib/__init__.py
-index 568619e..1a5bee5 100644
--- a/rtslib/__init__.py
+++ b/rtslib/__init__.py
@@ -32,6 +32,7 @@ from .fabric import FabricModule
@@ -24,11 +22,9 @@
from .tcm import StorageObjectFactory
from .alua import ALUATargetPortGroup
-diff --git a/rtslib/tcm.py b/rtslib/tcm.py
-index 1aeea23..17df8e9 100644
--- a/rtslib/tcm.py
+++ b/rtslib/tcm.py
-@@ -780,6 +780,107 @@ class BlockStorageObject(StorageObject):
+@@ -801,6 +801,107 @@ class BlockStorageObject(StorageObject):
d['dev'] = self.udev_path
return d
@@ -136,7 +132,7 @@
class UserBackedStorageObject(StorageObject):
'''
-@@ -897,6 +998,7 @@ so_mapping = {
+@@ -940,6 +1041,7 @@ so_mapping = {
"fileio": FileIOStorageObject,
"iblock": BlockStorageObject,
"block": BlockStorageObject,
@@ -144,7 +140,7 @@
"user": UserBackedStorageObject,
}
-@@ -907,6 +1009,7 @@ bs_params = {
+@@ -950,6 +1052,7 @@ bs_params = {
FileIOStorageObject: dict(name='fileio'),
BlockStorageObject: dict(name='block', alt_dirprefix='iblock'),
UserBackedStorageObject: dict(name='user'),
@@ -152,6 +148,3 @@
}
bs_cache = {}
---
-2.13.6
-