commit python-rtslib for openSUSE:Factory
Hello community, here is the log from the commit of package python-rtslib for openSUSE:Factory checked in at 2018-01-05 01:00:43 Comparing /work/SRC/openSUSE:Factory/python-rtslib (Old) and /work/SRC/openSUSE:Factory/.python-rtslib.new (New) Package is "python-rtslib" Fri Jan 5 01:00:43 2018 rev:15 rq:561453 version:3.0pre4 Changes: --- /work/SRC/openSUSE:Factory/python-rtslib/python-rtslib.changes 2017-10-26 18:43:51.893405158 +0200 +++ /work/SRC/openSUSE:Factory/.python-rtslib.new/python-rtslib.changes 2018-01-05 01:01:17.978401226 +0100 @@ -1,0 +2,7 @@ +Wed Jan 3 18:02:21 UTC 2018 - tchva...@suse.com + +- Mark as noarch +- Remove dep over epydoc by disabling documentation build as it is + python2 only + +--- @@ -13,0 +21 @@ + Other differences: -- ++ python-rtslib.spec ++ --- /var/tmp/diff_new_pack.Vnfh22/_old 2018-01-05 01:01:22.532885887 +0100 +++ /var/tmp/diff_new_pack.Vnfh22/_new 2018-01-05 01:01:22.536884557 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-rtslib # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,12 @@ %define oname rtslib - Name: python-rtslib Summary:A framework to implement simple but nice CLIs License:Apache-2.0 Group: Development/Languages/Python Version:3.0pre4 -Release:1%{?dist} +Release:0 Url:https://github.com/Datera/rtslib Source: %{oname}-%{version}.tar.gz Patch1: %{oname}-set-git-version-for-sle12.patch @@ -32,7 +31,6 @@ Patch6: %{oname}-fix-iqn-wwn.patch Patch7: %{oname}-disallow-upper-case-iqn-names.patch Patch8: %{oname}-fix-parse-error-with-new-pyparsing.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: python-configobj Requires: python-ipaddr Requires: python-netifaces @@ -43,6 +41,7 @@ BuildRequires: python-netifaces BuildRequires: python-pyparsing BuildRequires: python-setuptools +BuildArch: noarch %description API for RisingTide Systems generic SCSI target. @@ -60,16 +59,6 @@ http://linux-iscsi.org/Doc/rtslib/html http://linux-iscsi.org/Doc/rtslib/rtslib-API-reference.pdf - -%package doc -Summary:Documentatoin for Python rtslib-fb -Group: Documentation/HTML -BuildArch: noarch -BuildRequires: epydoc - -%description doc -This is the documents for python rtslib sub pacakge. - %prep %setup -q -n %{oname}-%{version} %patch1 -p1 @@ -81,9 +70,6 @@ %build %__python setup.py build -%__mkdir -p doc -epydoc --no-sourcecode --html -n %{oname} --exclude configobj %{oname}/*.py -%__mv html doc/ %install %__python setup.py install --skip-build --root %{buildroot} --prefix usr @@ -95,24 +81,17 @@ %__install -d %{buildroot}%{_localstatedir}/target/policy %__install -m644 policy/*.lio %{buildroot}%{_localstatedir}/target/policy %__install -d %{buildroot}%{_datadir}/doc/python-rtslib-doc-%{version} -%__cp -r doc/* specs/*.txt %{buildroot}%{_datadir}/doc/python-rtslib-doc-%{version}/ %files %defattr(-,root,root,-) %{python_sitelib} %{_localstatedir}/target - %dir %{_localstatedir}/target/pr %dir %{_localstatedir}/target/alua %dir %{_localstatedir}/target/fabric %{_localstatedir}/target/fabric/* %dir %{_localstatedir}/target/policy %{_localstatedir}/target/policy/* - %doc COPYING README.md -%files doc -%defattr(-,root,root,-) -%{_datadir}/doc/python-rtslib-doc-%{version} - %changelog
commit python-rtslib for openSUSE:Factory
Hello community, here is the log from the commit of package python-rtslib for openSUSE:Factory checked in at 2017-10-26 18:43:51 Comparing /work/SRC/openSUSE:Factory/python-rtslib (Old) and /work/SRC/openSUSE:Factory/.python-rtslib.new (New) Package is "python-rtslib" Thu Oct 26 18:43:51 2017 rev:14 rq:534998 version:3.0pre4 Changes: --- /work/SRC/openSUSE:Factory/python-rtslib/python-rtslib.changes 2016-06-19 10:47:54.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-rtslib.new/python-rtslib.changes 2017-10-26 18:43:51.893405158 +0200 @@ -1,0 +2,7 @@ +Wed Oct 18 01:02:32 UTC 2017 - ldun...@suse.com + +- Fix parsing error with newer pyparsing module (bsc#1058995), + adding: + * rtslib-fix-parse-error-with-new-pyparsing.patch + +--- New: rtslib-fix-parse-error-with-new-pyparsing.patch Other differences: -- ++ python-rtslib.spec ++ --- /var/tmp/diff_new_pack.MFtIXa/_old 2017-10-26 18:43:52.749365211 +0200 +++ /var/tmp/diff_new_pack.MFtIXa/_new 2017-10-26 18:43:52.753365024 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-rtslib # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,7 +31,7 @@ Patch5: 0001-Add-support-for-xen-scsiback.patch Patch6: %{oname}-fix-iqn-wwn.patch Patch7: %{oname}-disallow-upper-case-iqn-names.patch - +Patch8: %{oname}-fix-parse-error-with-new-pyparsing.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: python-configobj Requires: python-ipaddr @@ -77,6 +77,7 @@ %patch5 -p1 %patch6 -p1 %patch7-p1 +%patch8-p1 %build %__python setup.py build ++ rtslib-fix-parse-error-with-new-pyparsing.patch ++ From: Lee Duncan Date: Tue Oct 17 17:56:33 PDT 2017 Subject: [rtslib] fix parse error with new pyparsing Patch-mainline: never: rtslib is no longer maintained upstream Reference: bsc#1058995 The newest version of pyparsing causes rtslib to get an error when saving configuration that looks like: AttributeError: 'list' object has no attribute 'asList' --- diff -aurp rtslib-3.0pre4.orig/rtslib/config_parser.py rtslib-3.0pre4/rtslib/config_parser.py --- rtslib-3.0pre4.orig/rtslib/config_parser.py 2014-10-30 11:03:58.0 -0700 +++ rtslib-3.0pre4/rtslib/config_parser.py 2017-10-17 17:55:09.274222998 -0700 @@ -225,7 +225,7 @@ class PolicyParser(ConfigParser): value = tokin[0].asDict() ref_path = value.get('ref_path') if ref_path is not None: -ref_path = " ".join(ref_path.asList()) +ref_path = " ".join(ref_path) tokout = {'type': 'attr', 'line': pp.lineno(idx, source), 'col': pp.col(idx, source),
commit python-rtslib for openSUSE:Factory
Hello community, here is the log from the commit of package python-rtslib for openSUSE:Factory checked in at 2016-06-19 10:47:52 Comparing /work/SRC/openSUSE:Factory/python-rtslib (Old) and /work/SRC/openSUSE:Factory/.python-rtslib.new (New) Package is "python-rtslib" Changes: --- /work/SRC/openSUSE:Factory/python-rtslib/python-rtslib.changes 2016-01-05 21:55:37.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-rtslib.new/python-rtslib.changes 2016-06-19 10:47:54.0 +0200 @@ -1,0 +2,17 @@ +Sun Jun 12 08:18:24 UTC 2016 - ls...@suse.com + +- Fix BNC#968745 - targetcli can create targets with uppercase + letters causing lio-utils problems +- Add patch: rtslib-disallow-upper-case-iqn-names.patch +--- +Fri May 13 02:44:37 UTC 2016 - ls...@suse.com + +- Update to version 3.0 pre4 +- Remove rtslib-git-update.patch, because this package is already + updated to latest git release. +- Remove rtslib-add-iblock-backstore-policy.patch, because it is + already in version per4 release, and the values in + /policy/backstore_iblock.lio have been changed to the values + in the patch. +- Change version to 3.0pre4-suse +--- Old: rtslib-2.2.tar.bz2 rtslib-add-iblock-backstore-policy.patch rtslib-git-update.patch New: rtslib-3.0pre4.tar.gz rtslib-disallow-upper-case-iqn-names.patch Other differences: -- ++ python-rtslib.spec ++ --- /var/tmp/diff_new_pack.Ez21Hs/_old 2016-06-19 10:47:55.0 +0200 +++ /var/tmp/diff_new_pack.Ez21Hs/_new 2016-06-19 10:47:55.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-rtslib # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,22 +16,23 @@ # +%define oname rtslib + Name: python-rtslib -Version:2.2 -Release:0 -Summary:API for Linux kernel SCSI target (aka LIO) +Summary:A framework to implement simple but nice CLIs License:Apache-2.0 Group: Development/Languages/Python -%define oname rtslib +Version:3.0pre4 +Release:1%{?dist} Url:https://github.com/Datera/rtslib -# Source: https://github.com/Datera/%{oname}/archive/%{version}.tar.gz -Source: %{oname}-%{version}.tar.bz2 -Patch0: %{oname}-git-update.patch +Source: %{oname}-%{version}.tar.gz Patch1: %{oname}-set-git-version-for-sle12.patch Patch2: %{oname}-add-prot-info-attributes.patch -Patch3: %{oname}-add-iblock-backstore-policy.patch Patch5: 0001-Add-support-for-xen-scsiback.patch Patch6: %{oname}-fix-iqn-wwn.patch +Patch7: %{oname}-disallow-upper-case-iqn-names.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: python-configobj Requires: python-ipaddr Requires: python-netifaces @@ -42,16 +43,9 @@ BuildRequires: python-netifaces BuildRequires: python-pyparsing BuildRequires: python-setuptools -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Provides: %{name}-doc = %{version} -Obsoletes: %{name}-doc < %{version} -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else -BuildArch: noarch -%endif %description +API for RisingTide Systems generic SCSI target. RTSlib is a Python library that provides an API to the LIO Linux SCSI Target, and its third-party target fabric modules and backend storage objects. @@ -60,68 +54,64 @@ userspace tools. For more information, please see the targetcli User's Guide at: - http://linux-iscsi.org/wiki/targetcli and the RTSlib API Reference Guide at: - http://linux-iscsi.org/Doc/rtslib/html http://linux-iscsi.org/Doc/rtslib/rtslib-API-reference.pdf + +%package doc +Summary:Documentatoin for Python rtslib-fb +Group: Documentation/HTML +BuildArch: noarch +BuildRequires: epydoc + +%description doc +This is the documents for python rtslib sub pacakge. + %prep %setup -q -n %{oname}-%{version} -%patch0 -p1 %patch1 -p1 %patch2 -p1 -%patch3 -p1 %patch5 -p1 %patch6-p1 +%patch7-p1 %build -python setup.py build +%__python setup.py build +%__mkdir -p doc +epydoc --no-sourcecode --html -n %{oname} --exclude configobj %{oname}/*.py +%__mv html doc/ %install -python setup.py install --prefix=%{_prefix} --ro
commit python-rtslib for openSUSE:Factory
Hello community, here is the log from the commit of package python-rtslib for openSUSE:Factory checked in at 2016-01-05 21:55:07 Comparing /work/SRC/openSUSE:Factory/python-rtslib (Old) and /work/SRC/openSUSE:Factory/.python-rtslib.new (New) Package is "python-rtslib" Changes: --- /work/SRC/openSUSE:Factory/python-rtslib/python-rtslib.changes 2015-03-09 10:09:00.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-rtslib.new/python-rtslib.changes 2016-01-05 21:55:37.0 +0100 @@ -1,0 +2,8 @@ +Fri Dec 25 08:16:22 UTC 2015 - ls...@suse.com + +- fix BNC#958274 - Wrong random default name of iSCSI target name + generated by Targetcli + fix iqn wwn name error when include "-" + patch: rtslib-fix-iqn-wwn.patch + +--- New: rtslib-fix-iqn-wwn.patch Other differences: -- ++ python-rtslib.spec ++ --- /var/tmp/diff_new_pack.fPAqEN/_old 2016-01-05 21:55:40.0 +0100 +++ /var/tmp/diff_new_pack.fPAqEN/_new 2016-01-05 21:55:40.0 +0100 @@ -31,6 +31,7 @@ Patch2: %{oname}-add-prot-info-attributes.patch Patch3: %{oname}-add-iblock-backstore-policy.patch Patch5: 0001-Add-support-for-xen-scsiback.patch +Patch6: %{oname}-fix-iqn-wwn.patch Requires: python-configobj Requires: python-ipaddr Requires: python-netifaces @@ -74,6 +75,7 @@ %patch2 -p1 %patch3 -p1 %patch5 -p1 +%patch6-p1 %build python setup.py build ++ rtslib-fix-iqn-wwn.patch ++ Index: rtslib-2.2/rtslib/target.py === --- rtslib-2.2.orig/rtslib/target.py +++ rtslib-2.2/rtslib/target.py @@ -1194,6 +1194,7 @@ class Target(CFSNode): if wwn is not None: wwn = str(wwn).strip() +wwn = wwn.replace("_","-") elif fabric_module.spec['wwn_list']: existing_wwns = set([child.wwn for child in fabric_module.targets]) free_wwns = fabric_module.spec['wwn_list'] - existing_wwns Index: rtslib-2.2/rtslib/utils.py === --- rtslib-2.2.orig/rtslib/utils.py +++ rtslib-2.2/rtslib/utils.py @@ -520,7 +520,8 @@ def generate_wwn(wwn_type): if wwn_type == 'unit_serial': return str(uuid.uuid4()) elif wwn_type == 'iqn': -localname = socket.gethostname().split(".")[0] +localname_raw = socket.gethostname().split(".")[0] +localname = localname_raw.replace("_","-") localarch = os.uname()[4].replace("_","") prefix = "iqn.2003-01.org.linux-iscsi.%s.%s" % (localname, localarch) prefix = prefix.strip().lower()
commit python-rtslib for openSUSE:Factory
Hello community, here is the log from the commit of package python-rtslib for openSUSE:Factory checked in at 2015-03-09 10:08:46 Comparing /work/SRC/openSUSE:Factory/python-rtslib (Old) and /work/SRC/openSUSE:Factory/.python-rtslib.new (New) Package is "python-rtslib" Changes: --- /work/SRC/openSUSE:Factory/python-rtslib/python-rtslib.changes 2015-03-01 14:47:16.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-rtslib.new/python-rtslib.changes 2015-03-09 10:09:00.0 +0100 @@ -1,0 +2,6 @@ +Wed Mar 4 14:37:46 UTC 2015 - o...@aepfle.de + +- Add support for xen-scsiback (fate#315712) + 0001-Add-support-for-xen-scsiback.patch + +--- New: 0001-Add-support-for-xen-scsiback.patch Other differences: -- ++ python-rtslib.spec ++ --- /var/tmp/diff_new_pack.Vzwe2Y/_old 2015-03-09 10:09:00.0 +0100 +++ /var/tmp/diff_new_pack.Vzwe2Y/_new 2015-03-09 10:09:00.0 +0100 @@ -30,6 +30,7 @@ Patch1: %{oname}-set-git-version-for-sle12.patch Patch2: %{oname}-add-prot-info-attributes.patch Patch3: %{oname}-add-iblock-backstore-policy.patch +Patch5: 0001-Add-support-for-xen-scsiback.patch Requires: python-configobj Requires: python-ipaddr Requires: python-netifaces @@ -72,6 +73,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch5 -p1 %build python setup.py build @@ -102,7 +104,10 @@ fi %postun -rm -fv /var/target +if test "$1" = "0" +then + rm -fv /var/target +fi %endif %files ++ 0001-Add-support-for-xen-scsiback.patch ++ >From f2170cbcabbd79156e659455a537e3ded9443ad4 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Wed, 4 Mar 2015 15:00:56 +0100 Subject: Add support for xen-scsiback With this change the xen-scsiback driver added to Linux 3.18 can be configured with targetcli. Signed-off-by: Olaf Hering --- policy/fabric_xen-pvscsi.lio | 9 + specs/xen-pvscsi.spec| 11 +++ 2 files changed, 20 insertions(+) create mode 100644 policy/fabric_xen-pvscsi.lio create mode 100644 specs/xen-pvscsi.spec diff --git a/policy/fabric_xen-pvscsi.lio b/policy/fabric_xen-pvscsi.lio new file mode 100644 index 000..60c1c4f --- /dev/null +++ b/policy/fabric_xen-pvscsi.lio @@ -0,0 +1,9 @@ +fabric xen-pvscsi { +target %naa tpgt %int { +nexus_wwn %naa +lun %int backend %backend +parameter { +alias %str +} +} +} diff --git a/specs/xen-pvscsi.spec b/specs/xen-pvscsi.spec new file mode 100644 index 000..28b29dd --- /dev/null +++ b/specs/xen-pvscsi.spec @@ -0,0 +1,11 @@ +# The fabric module feature set +features = nexus, tpgts + +# Use naa WWNs. +wwn_type = naa + +# Non-standard module naming scheme +kernel_module = xen-scsiback + +# The configfs group +configfs_group = xen-pvscsi -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-rtslib for openSUSE:Factory
Hello community, here is the log from the commit of package python-rtslib for openSUSE:Factory checked in at 2015-03-01 14:47:15 Comparing /work/SRC/openSUSE:Factory/python-rtslib (Old) and /work/SRC/openSUSE:Factory/.python-rtslib.new (New) Package is "python-rtslib" Changes: --- /work/SRC/openSUSE:Factory/python-rtslib/python-rtslib.changes 2014-08-16 15:38:13.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-rtslib.new/python-rtslib.changes 2015-03-01 14:47:16.0 +0100 @@ -1,0 +2,5 @@ +Fri Feb 27 10:52:10 UTC 2015 - o...@aepfle.de + +- Use /var/lib/target in SLE11 to pass old FHS checks + +--- Other differences: -- ++ python-rtslib.spec ++ --- /var/tmp/diff_new_pack.a4n1Ql/_old 2015-03-01 14:47:17.0 +0100 +++ /var/tmp/diff_new_pack.a4n1Ql/_new 2015-03-01 14:47:17.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-rtslib # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -79,8 +79,12 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%if 0%{?suse_version} > 1130 || 0%{?suse_version} == 0 +%if 0%{?suse_version} < 1130 +# Workaround for FHS check +%define _vardir /var/lib/target +%else %define _vardir /var/target +%endif install -vd -m 755 $RPM_BUILD_ROOT%{_vardir} install -vd -m 755 $RPM_BUILD_ROOT%{_vardir}/pr @@ -89,13 +93,22 @@ install -v -m 644 specs/*.spec $RPM_BUILD_ROOT%{_vardir}/fabric/ install -vd -m 755 $RPM_BUILD_ROOT%{_vardir}/policy install -v -m 644 policy/*.lio $RPM_BUILD_ROOT%{_vardir}/policy/ + +%if 0%{?suse_version} < 1130 +%post +if test ! -e /var/target +then + ln -sfvn lib/target /var/target +fi + +%postun +rm -fv /var/target %endif %files %defattr(-,root,root,-) %doc README.md COPYING %{python_sitelib}/* -%if 0%{?suse_version} > 1130 || 0%{?suse_version} == 0 %dir %{_vardir} %dir %{_vardir}/pr %dir %{_vardir}/alua @@ -103,6 +116,5 @@ %{_vardir}/fabric/* %dir %{_vardir}/policy %{_vardir}/policy/* -%endif %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-rtslib for openSUSE:Factory
Hello community, here is the log from the commit of package python-rtslib for openSUSE:Factory checked in at 2014-08-16 15:37:58 Comparing /work/SRC/openSUSE:Factory/python-rtslib (Old) and /work/SRC/openSUSE:Factory/.python-rtslib.new (New) Package is "python-rtslib" Changes: --- /work/SRC/openSUSE:Factory/python-rtslib/python-rtslib.changes 2014-07-10 14:56:44.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-rtslib.new/python-rtslib.changes 2014-08-16 15:38:13.0 +0200 @@ -1,0 +2,7 @@ +Wed Aug 6 11:21:56 PDT 2014 - ldun...@suse.com + +- Added iblock backstore policy file (bnc#885565), so + targetcli does not backtrace when creating same, adding + rtslib-add-iblock-backstore-policy.patch + +--- New: rtslib-add-iblock-backstore-policy.patch Other differences: -- ++ python-rtslib.spec ++ --- /var/tmp/diff_new_pack.GAcoZo/_old 2014-08-16 15:38:14.0 +0200 +++ /var/tmp/diff_new_pack.GAcoZo/_new 2014-08-16 15:38:14.0 +0200 @@ -29,6 +29,7 @@ Patch0: %{oname}-git-update.patch Patch1: %{oname}-set-git-version-for-sle12.patch Patch2: %{oname}-add-prot-info-attributes.patch +Patch3: %{oname}-add-iblock-backstore-policy.patch Requires: python-configobj Requires: python-ipaddr Requires: python-netifaces @@ -70,6 +71,7 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build python setup.py build ++ rtslib-add-iblock-backstore-policy.patch ++ diff --unidirectional-new-file -aurp rtslib-2.2.orig/policy/backstore_iblock.lio rtslib-2.2/policy/backstore_iblock.lio --- rtslib-2.2.orig/policy/backstore_iblock.lio 1969-12-31 16:00:00.0 -0800 +++ rtslib-2.2/policy/backstore_iblock.lio 2014-07-11 10:38:56.028996415 -0700 @@ -0,0 +1,28 @@ +storage iblock disk %str { +path %str +attribute { +block_size %int(512) +emulate_3pc %bool(yes) +emulate_caw %bool(yes) +emulate_dpo %bool(no) +emulate_fua_read %bool(no) +emulate_fua_write %bool(yes) +emulate_model_alias %bool(no) +emulate_rest_reord %bool(no) +emulate_tas %bool(yes) +emulate_tpu %bool(no) +emulate_tpws %bool(no) +emulate_ua_intlck_ctrl %bool(no) +emulate_write_cache %bool(no) +enforce_pr_isids %bool(yes) +fabric_max_sectors %int(8192) +is_nonrot %bool(yes) +max_unmap_block_desc_count %int(0) +max_unmap_lba_count %int(0) +max_write_same_len %int(65535) +optimal_sectors %int(8192) +queue_depth %int(128) +unmap_granularity %int(0) +unmap_granularity_alignment %int(0) +} +} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-rtslib for openSUSE:Factory
Hello community, here is the log from the commit of package python-rtslib for openSUSE:Factory checked in at 2014-07-10 14:56:04 Comparing /work/SRC/openSUSE:Factory/python-rtslib (Old) and /work/SRC/openSUSE:Factory/.python-rtslib.new (New) Package is "python-rtslib" Changes: --- /work/SRC/openSUSE:Factory/python-rtslib/python-rtslib.changes 2014-06-01 19:40:42.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-rtslib.new/python-rtslib.changes 2014-07-10 14:56:44.0 +0200 @@ -1,0 +2,12 @@ +Fri Jun 27 09:09:57 PDT 2014 - ldun...@suse.com + +Updated to match SLE 12 changes: +- Added T10 Protection Information attributes (bnc#880355): + rtslib-add-prot-info-attributes.patch +- Added patch to set GIT_VERSION string (bnc#880355): + rtslib-set-git-version-for-sle12.patch +- Updated spec file: + - use new patches + - create and populate /var/target tree + +--- New: rtslib-add-prot-info-attributes.patch rtslib-set-git-version-for-sle12.patch Other differences: -- ++ python-rtslib.spec ++ --- /var/tmp/diff_new_pack.7CPlWb/_old 2014-07-10 14:56:45.0 +0200 +++ /var/tmp/diff_new_pack.7CPlWb/_new 2014-07-10 14:56:45.0 +0200 @@ -16,8 +16,6 @@ # -%define oname rtslib-fb - Name: python-rtslib Version:2.2 Release:0 @@ -29,6 +27,8 @@ # Source: https://github.com/Datera/%{oname}/archive/%{version}.tar.gz Source: %{oname}-%{version}.tar.bz2 Patch0: %{oname}-git-update.patch +Patch1: %{oname}-set-git-version-for-sle12.patch +Patch2: %{oname}-add-prot-info-attributes.patch Requires: python-configobj Requires: python-ipaddr Requires: python-netifaces @@ -68,6 +68,8 @@ %prep %setup -q -n %{oname}-%{version} %patch0 -p1 +%patch1 -p1 +%patch2 -p1 %build python setup.py build @@ -75,9 +77,30 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%if 0%{?suse_version} > 1130 || 0%{?suse_version} == 0 +%define _vardir /var/target + +install -vd -m 755 $RPM_BUILD_ROOT%{_vardir} +install -vd -m 755 $RPM_BUILD_ROOT%{_vardir}/pr +install -vd -m 755 $RPM_BUILD_ROOT%{_vardir}/alua +install -vd -m 755 $RPM_BUILD_ROOT%{_vardir}/fabric +install -v -m 644 specs/*.spec $RPM_BUILD_ROOT%{_vardir}/fabric/ +install -vd -m 755 $RPM_BUILD_ROOT%{_vardir}/policy +install -v -m 644 policy/*.lio $RPM_BUILD_ROOT%{_vardir}/policy/ +%endif + %files %defattr(-,root,root,-) %doc README.md COPYING %{python_sitelib}/* +%if 0%{?suse_version} > 1130 || 0%{?suse_version} == 0 +%dir %{_vardir} +%dir %{_vardir}/pr +%dir %{_vardir}/alua +%dir %{_vardir}/fabric +%{_vardir}/fabric/* +%dir %{_vardir}/policy +%{_vardir}/policy/* +%endif %changelog ++ rtslib-add-prot-info-attributes.patch ++ diff -aurp rtslib-2.2.orig/policy/backstore_fileio.lio rtslib-2.2/policy/backstore_fileio.lio --- rtslib-2.2.orig/policy/backstore_fileio.lio 2014-06-26 11:43:19.659423631 -0700 +++ rtslib-2.2/policy/backstore_fileio.lio 2014-06-26 11:41:47.503419450 -0700 @@ -23,6 +23,8 @@ storage fileio disk %str { max_unmap_lba_count %int(8192) max_write_same_len %int(4096) optimal_sectors %int(8192) + pi_prot_format %bool(no) + pi_prot_type %int(0) queue_depth %int(128) unmap_granularity %int(1) unmap_granularity_alignment %int(0) diff -aurp rtslib-2.2.orig/policy/backstore_ramdisk.lio rtslib-2.2/policy/backstore_ramdisk.lio --- rtslib-2.2.orig/policy/backstore_ramdisk.lio2014-06-26 11:43:19.659423631 -0700 +++ rtslib-2.2/policy/backstore_ramdisk.lio 2014-06-26 11:41:47.503419450 -0700 @@ -22,6 +22,8 @@ storage rd_mcp disk %str { max_unmap_lba_count %bool(no) max_write_same_len %int(0) optimal_sectors %int(1024) + pi_prot_format %bool(no) + pi_prot_type %int(0) queue_depth %int(32) unmap_granularity %bool(no) unmap_granularity_alignment %bool(no) diff -aurp rtslib-2.2.orig/policy/fabric_ib_srpt.lio rtslib-2.2/policy/fabric_ib_srpt.lio --- rtslib-2.2.orig/policy/fabric_ib_srpt.lio 2014-06-26 11:43:19.659423631 -0700 +++ rtslib-2.2/policy/fabric_ib_srpt.lio2014-06-26 11:42:27.007421242 -0700 @@ -39,6 +39,7 @@ fabric ib_srpt { login_timeout %int(15) netif_timeout %int(2) prod_mode_write_protect %bool(no) + t10_pi %bool(no) } lun %int backend %backend parameter { diff -aurp rtslib-2.2.orig/policy/fabric_iscsi.lio rtslib-2.2/policy/fabric_iscsi.lio --- rtslib-2.2.orig/policy/fabric_iscsi.lio 2014-06-26 11:43:19.663423631 -0700 +++ rtslib-2.2/
commit python-rtslib for openSUSE:Factory
Hello community, here is the log from the commit of package python-rtslib for openSUSE:Factory checked in at 2014-06-01 19:40:30 Comparing /work/SRC/openSUSE:Factory/python-rtslib (Old) and /work/SRC/openSUSE:Factory/.python-rtslib.new (New) Package is "python-rtslib" Changes: --- /work/SRC/openSUSE:Factory/python-rtslib/python-rtslib.changes 2014-01-02 18:30:20.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-rtslib.new/python-rtslib.changes 2014-06-01 19:40:42.0 +0200 @@ -1,0 +2,17 @@ +Mon May 19 08:16:42 CEST 2014 - h...@suse.de + +- Add pyparsing to requires +- README got renamed to README.md + +--- +Fri May 16 15:48:28 CEST 2014 - h...@suse.de + +- Update to latest git commit + * Update README + * Minor fixes + * Add support for nullio ramdisks + * Update copyright notice + * Build fixes + * Add rtslib-git-update.patch + +--- New: rtslib-git-update.patch Other differences: -- ++ python-rtslib.spec ++ --- /var/tmp/diff_new_pack.00wJvu/_old 2014-06-01 19:40:43.0 +0200 +++ /var/tmp/diff_new_pack.00wJvu/_new 2014-06-01 19:40:43.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-rtslib # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,13 +28,16 @@ Url:https://github.com/Datera/rtslib # Source: https://github.com/Datera/%{oname}/archive/%{version}.tar.gz Source: %{oname}-%{version}.tar.bz2 +Patch0: %{oname}-git-update.patch Requires: python-configobj Requires: python-ipaddr Requires: python-netifaces +Requires: python-pyparsing BuildRequires: python-configobj BuildRequires: python-devel BuildRequires: python-ipaddr BuildRequires: python-netifaces +BuildRequires: python-pyparsing BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: %{name}-doc = %{version} @@ -64,6 +67,7 @@ %prep %setup -q -n %{oname}-%{version} +%patch0 -p1 %build python setup.py build @@ -73,7 +77,7 @@ %files %defattr(-,root,root,-) -%doc README COPYING +%doc README.md COPYING %{python_sitelib}/* %changelog ++ rtslib-git-update.patch ++ 8917 lines (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-rtslib for openSUSE:Factory
Hello community, here is the log from the commit of package python-rtslib for openSUSE:Factory checked in at 2014-01-02 18:30:19 Comparing /work/SRC/openSUSE:Factory/python-rtslib (Old) and /work/SRC/openSUSE:Factory/.python-rtslib.new (New) Package is "python-rtslib" Changes: --- /work/SRC/openSUSE:Factory/python-rtslib/python-rtslib.changes 2013-11-25 16:03:52.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-rtslib.new/python-rtslib.changes 2014-01-02 18:30:20.0 +0100 @@ -1,0 +2,10 @@ +Wed Dec 18 15:59:26 CET 2013 - h...@suse.de + +- Update to version 2.2 from github repository: + * targetcli moved into separate package + * Removed references to targetcli program and manpages +- Update description +- Change license tag to correct one; rtslib is licensed under Apache-2.0 +- Add missing dependencies to get it fully working + +--- Old: rtslib-fb-2.1.fb42.tar.gz New: rtslib-2.2.tar.bz2 Other differences: -- ++ python-rtslib.spec ++ --- /var/tmp/diff_new_pack.hiCOhE/_old 2014-01-02 18:30:21.0 +0100 +++ /var/tmp/diff_new_pack.hiCOhE/_new 2014-01-02 18:30:21.0 +0100 @@ -15,17 +15,26 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define oname rtslib-fb Name: python-rtslib -Version:2.1.fb42 +Version:2.2 Release:0 Summary:API for Linux kernel SCSI target (aka LIO) -License:AGPL-3.0 +License:Apache-2.0 Group: Development/Languages/Python -Url:http://github.com/agrover/rtslib-fb -Source: https://fedorahosted.org/releases/t/a/targetcli-fb/%{oname}-%{version}.tar.gz +%define oname rtslib +Url:https://github.com/Datera/rtslib +# Source: https://github.com/Datera/%{oname}/archive/%{version}.tar.gz +Source: %{oname}-%{version}.tar.bz2 +Requires: python-configobj +Requires: python-ipaddr +Requires: python-netifaces +BuildRequires: python-configobj BuildRequires: python-devel +BuildRequires: python-ipaddr +BuildRequires: python-netifaces BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: %{name}-doc = %{version} @@ -37,11 +46,21 @@ %endif %description -rtslib-fb ("free branch") is a tree that tracks RTS's upstream -git repo, but with additional patches. Like the upstream version, -these patches are available under AGPLv3, but sole copyright no longer -belongs to RTS, since additional patch copyrights are still held by -their respective authors. +RTSlib is a Python library that provides an API to the LIO Linux SCSI Target, +and its third-party target fabric modules and backend storage objects. + +RTSlib was developed by Datera, Inc. (www.daterainc.com). It is useful for +developing 3rd-party applications, and as a foundation for the Datera +userspace tools. + +For more information, please see the targetcli User's Guide at: + +http://linux-iscsi.org/wiki/targetcli + +and the RTSlib API Reference Guide at: + +http://linux-iscsi.org/Doc/rtslib/html +http://linux-iscsi.org/Doc/rtslib/rtslib-API-reference.pdf %prep %setup -q -n %{oname}-%{version} @@ -51,16 +70,10 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -mkdir -p %{buildroot}%{_mandir}/{man8,man5} -install -m 644 doc/targetctl.8 %{buildroot}%{_mandir}/man8/ -install -m 644 doc/saveconfig.json.5 %{buildroot}%{_mandir}/man5/ %files %defattr(-,root,root,-) -%doc README.md COPYING -%{_bindir}/targetctl +%doc README COPYING %{python_sitelib}/* -%{_mandir}/man5/saveconfig.json.5.gz -%{_mandir}/man8/targetctl.8.gz %changelog ++ rtslib-fb-2.1.fb42.tar.gz -> rtslib-2.2.tar.bz2 ++ 6744 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-rtslib for openSUSE:Factory
Hello community, here is the log from the commit of package python-rtslib for openSUSE:Factory checked in at 2013-11-25 16:03:52 Comparing /work/SRC/openSUSE:Factory/python-rtslib (Old) and /work/SRC/openSUSE:Factory/.python-rtslib.new (New) Package is "python-rtslib" Changes: --- /work/SRC/openSUSE:Factory/python-rtslib/python-rtslib.changes 2013-10-23 13:12:17.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-rtslib.new/python-rtslib.changes 2013-11-25 16:03:52.0 +0100 @@ -1,0 +2,9 @@ +Sun Nov 24 15:43:29 UTC 2013 - p.drou...@gmail.com + +- Change tarball download location to new official one +- Update to version 2.1.fb42 + + No changelog available +- Remove rtslib-qla2xxx-fix.patch; merged on upstream release +- Add man pages for targetcli + +--- Old: rtslib-2.1.fb27.tar.gz rtslib-qla2xxx-fix.patch New: rtslib-fb-2.1.fb42.tar.gz Other differences: -- ++ python-rtslib.spec ++ --- /var/tmp/diff_new_pack.YWHz5q/_old 2013-11-25 16:03:53.0 +0100 +++ /var/tmp/diff_new_pack.YWHz5q/_new 2013-11-25 16:03:53.0 +0100 @@ -15,17 +15,18 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%define oname rtslib-fb Name: python-rtslib -Version:2.1.fb27 +Version:2.1.fb42 Release:0 Summary:API for Linux kernel SCSI target (aka LIO) License:AGPL-3.0 Group: Development/Languages/Python Url:http://github.com/agrover/rtslib-fb -Source: http://pypi.python.org/packages/source/r/rtslib/rtslib-%{version}.tar.gz -Patch1: rtslib-qla2xxx-fix.patch +Source: https://fedorahosted.org/releases/t/a/targetcli-fb/%{oname}-%{version}.tar.gz BuildRequires: python-devel +BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: %{name}-doc = %{version} Obsoletes: %{name}-doc < %{version} @@ -43,18 +44,23 @@ their respective authors. %prep -%setup -q -n rtslib-%{version} -%patch1 -p1 +%setup -q -n %{oname}-%{version} %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +mkdir -p %{buildroot}%{_mandir}/{man8,man5} +install -m 644 doc/targetctl.8 %{buildroot}%{_mandir}/man8/ +install -m 644 doc/saveconfig.json.5 %{buildroot}%{_mandir}/man5/ %files %defattr(-,root,root,-) -%doc README +%doc README.md COPYING +%{_bindir}/targetctl %{python_sitelib}/* +%{_mandir}/man5/saveconfig.json.5.gz +%{_mandir}/man8/targetctl.8.gz %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-rtslib for openSUSE:Factory
Hello community, here is the log from the commit of package python-rtslib for openSUSE:Factory checked in at 2013-10-23 13:12:16 Comparing /work/SRC/openSUSE:Factory/python-rtslib (Old) and /work/SRC/openSUSE:Factory/.python-rtslib.new (New) Package is "python-rtslib" Changes: --- /work/SRC/openSUSE:Factory/python-rtslib/python-rtslib.changes 2013-03-01 08:03:57.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-rtslib.new/python-rtslib.changes 2013-10-23 13:12:17.0 +0200 @@ -1,0 +2,5 @@ +Wed Oct 16 13:24:27 CEST 2013 - h...@suse.de + +- Fixup typo in fabric.py (bnc#837519) + +--- New: rtslib-qla2xxx-fix.patch Other differences: -- ++ python-rtslib.spec ++ --- /var/tmp/diff_new_pack.letK66/_old 2013-10-23 13:12:19.0 +0200 +++ /var/tmp/diff_new_pack.letK66/_new 2013-10-23 13:12:19.0 +0200 @@ -13,16 +13,18 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Name: python-rtslib Version:2.1.fb27 Release:0 -License:AGPL-3.0 Summary:API for Linux kernel SCSI target (aka LIO) -Url:http://github.com/agrover/rtslib-fb +License:AGPL-3.0 Group: Development/Languages/Python +Url:http://github.com/agrover/rtslib-fb Source: http://pypi.python.org/packages/source/r/rtslib/rtslib-%{version}.tar.gz +Patch1: rtslib-qla2xxx-fix.patch BuildRequires: python-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: %{name}-doc = %{version} @@ -42,6 +44,7 @@ %prep %setup -q -n rtslib-%{version} +%patch1 -p1 %build python setup.py build ++ rtslib-qla2xxx-fix.patch ++ diff -pur rtslib-2.1.fb27.orig/rtslib/fabrics.py rtslib-2.1.fb27/rtslib/fabrics.py --- rtslib-2.1.fb27.orig/rtslib/fabrics.py 2013-01-03 01:55:35.0 +0100 +++ rtslib-2.1.fb27/rtslib/fabrics.py 2013-10-16 13:17:56.688277000 +0200 @@ -178,7 +178,7 @@ fabrics = [ ("ib_srpt", _ib_srpt), ("iscsi", _iscsi), ("loopback", _loopback), -("qla2", _qla2xxx), +("qla2xxx", _qla2xxx), ("sbp", _sbp), ("tcm_fc", _tcm_fc), ("usb_gadget", _usb_gadget), -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-rtslib for openSUSE:Factory
Hello community, here is the log from the commit of package python-rtslib for openSUSE:Factory checked in at 2013-03-01 07:50:25 Comparing /work/SRC/openSUSE:Factory/python-rtslib (Old) and /work/SRC/openSUSE:Factory/.python-rtslib.new (New) Package is "python-rtslib", Maintainer is "h...@suse.com" Changes: New Changes file: --- /dev/null 2013-02-26 18:15:11.936010755 +0100 +++ /work/SRC/openSUSE:Factory/.python-rtslib.new/python-rtslib.changes 2013-03-01 07:50:26.0 +0100 @@ -0,0 +1,13 @@ +--- +Wed Feb 27 15:37:38 UTC 2013 - sasc...@suse.de + +- Replace this with the official version from PyPI and redo the spec file: + + Drop useless (build) requires + + Drop even more useless doc sub-package + + Drop patches that are upstream + +--- +Thu Jan 17 12:20:24 CET 2013 - h...@suse.de + +- Initial commit from git repository + New: python-rtslib.changes python-rtslib.spec rtslib-2.1.fb27.tar.gz Other differences: -- ++ python-rtslib.spec ++ # # spec file for package python-rtslib # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ Name: python-rtslib Version:2.1.fb27 Release:0 License:AGPL-3.0 Summary:API for Linux kernel SCSI target (aka LIO) Url:http://github.com/agrover/rtslib-fb Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/r/rtslib/rtslib-%{version}.tar.gz BuildRequires: python-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: %{name}-doc = %{version} Obsoletes: %{name}-doc < %{version} %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif %description rtslib-fb ("free branch") is a tree that tracks RTS's upstream git repo, but with additional patches. Like the upstream version, these patches are available under AGPLv3, but sole copyright no longer belongs to RTS, since additional patch copyrights are still held by their respective authors. %prep %setup -q -n rtslib-%{version} %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) %doc README %{python_sitelib}/* %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org