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.000000000 +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 - [email protected] + +- 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 <[email protected]> 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.000000000 -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),
