Hello community,

here is the log from the commit of package python-rtslib-fb for 
openSUSE:Factory checked in at 2018-01-25 12:40:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rtslib-fb (Old)
 and      /work/SRC/openSUSE:Factory/.python-rtslib-fb.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-rtslib-fb"

Thu Jan 25 12:40:55 2018 rev:14 rq:569368 version:2.1.64

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rtslib-fb/python-rtslib-fb.changes        
2018-01-10 23:35:53.174001385 +0100
+++ /work/SRC/openSUSE:Factory/.python-rtslib-fb.new/python-rtslib-fb.changes   
2018-01-25 12:41:01.861289780 +0100
@@ -1,0 +2,6 @@
+Wed Jan 24 18:43:43 UTC 2018 - [email protected]
+
+- Fix incorrect naming for XEN (bsc#1076455), adding patch:
+  * correct-name-for-xen-pvscsi.patch
+
+-------------------------------------------------------------------

New:
----
  correct-name-for-xen-pvscsi.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-rtslib-fb.spec ++++++
--- /var/tmp/diff_new_pack.8MdVRn/_old  2018-01-25 12:41:02.781246831 +0100
+++ /var/tmp/diff_new_pack.8MdVRn/_new  2018-01-25 12:41:02.785246644 +0100
@@ -29,6 +29,7 @@
 Group:          Development/Languages/Python
 Url:            http://github.com/open-iscsi/rtslib-fb.git
 Source:         %{oname}-%{realver}.tar.xz
+Patch1:         correct-name-for-xen-pvscsi.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pyudev}
 BuildRequires:  %{python_module setuptools}
@@ -49,6 +50,7 @@
 
 %prep
 %setup -q -n %{oname}-%{realver}
+%patch1 -p1
 
 %build
 %python_build

++++++ correct-name-for-xen-pvscsi.patch ++++++
From: Olaf Hering <[email protected]>
Date: Wed, 17 Jan 2018 12:27:48 +0100
Subject: Correct name for Xen pvscsi
Git-commit: 5a5670608b7abab061a59d65568e8ab0a53b6ef0
References: bsc#1076455

The name used in released products is xen-pvscsi, not xen_pvscsi.

Fixes: 2bcc4cd ("Add support for xen-scsiback")

Signed-off-by: Olaf Hering <[email protected]>
Acked-by: Lee Duncan <[email protected]>
---
 rtslib/fabric.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rtslib/fabric.py b/rtslib/fabric.py
index 4e9a1ee4073a..b529f14815cc 100644
--- a/rtslib/fabric.py
+++ b/rtslib/fabric.py
@@ -440,7 +440,7 @@ class VhostFabricModule(_BaseFabricModule):
 
 class XenPvScsiFabricModule(_BaseFabricModule):
     def __init__(self):
-        super(XenPvScsiFabricModule, self).__init__('xen_pvscsi')
+        super(XenPvScsiFabricModule, self).__init__('xen-pvscsi')
         self._path = "%s/%s" % (self.configfs_dir, 'xen-pvscsi')
         self.features = ("nexus", "tpgts")
         self.wwn_types = ('naa',)
@@ -469,7 +469,7 @@ fabric_modules = {
     "tcm_fc": FCoEFabricModule,
 #    "usb_gadget": USBGadgetFabricModule, # very rare, don't show
     "vhost": VhostFabricModule,
-    "xen_pvscsi": XenPvScsiFabricModule,
+    "xen-pvscsi": XenPvScsiFabricModule,
     "ibmvscsis": IbmvscsisFabricModule,
     }
 


Reply via email to