Accepting request 781293 from home:lee_duncan:branches:devel:languages:python

- Update to version v2.1.71 (jre#SLE-9345) from v2.1.70:
  * 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

OBS-URL: https://build.opensuse.org/request/show/781293
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=47
This commit is contained in:
Lee Duncan 2020-03-03 17:15:41 +00:00 committed by Git OBS Bridge
parent 0ca720d41b
commit 595face9e2
7 changed files with 23 additions and 21 deletions

View File

@ -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.70</param>
<param name="revision">v2.1.71</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="disabled">

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/open-iscsi/rtslib-fb.git</param>
<param name="changesrevision">2b160b754d48d5dfdfe1d41089d4e9af24ba3b29</param></service></servicedata>
<param name="changesrevision">b37bc67fc7ed3d1ec447e9f43eb68d30dd716367</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24afadfbe39eb93d65b507fe4b398a91f8381f0191255fc0213dba00c31538e8
size 42048

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:63d65fc9af4aeb87372a3342e89d5cd78342a8637721c6c28d862abb148f9ce3
size 42064

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Mar 03 15:46:53 UTC 2020 - lduncan@suse.com
- Update to version v2.1.71 (jre#SLE-9345):
* 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 - lduncan@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-rtslib-fb
#
# Copyright (c) 2019 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,12 +19,12 @@
%define dbdir %{_sysconfdir}/target
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-rtslib-fb
Version: 2.1.70
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: https://github.com/open-iscsi/rtslib-fb.git
URL: https://github.com/open-iscsi/rtslib-fb.git
Source: %{name}-v%{version}.tar.xz
Patch1: rbd-support.patch
BuildRequires: %{python_module pyudev}
@ -83,7 +83,8 @@ install -d -m755 %{buildroot}/%{dbdir}/alua
%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}

View File

@ -8,12 +8,10 @@ https://marc.info/?l=ceph-devel&m=143816209010058
Reviewed-by: David Disseldorp <ddiss@suse.de>
---
rtslib/__init__.py | 1 +
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 @@ index 568619e..1a5bee5 100644
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 @@ index 1aeea23..17df8e9 100644
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 @@ index 1aeea23..17df8e9 100644
"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 @@ index 1aeea23..17df8e9 100644
}
bs_cache = {}
--
2.13.6