Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-biplist for openSUSE:Factory checked in at 2021-06-01 10:39:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-biplist (Old) and /work/SRC/openSUSE:Factory/.python-biplist.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-biplist" Tue Jun 1 10:39:33 2021 rev:14 rq:896364 version:1.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-biplist/python-biplist.changes 2020-04-16 23:00:32.767550473 +0200 +++ /work/SRC/openSUSE:Factory/.python-biplist.new.1898/python-biplist.changes 2021-06-01 10:41:06.409185395 +0200 @@ -1,0 +2,6 @@ +Mon May 31 12:48:50 UTC 2021 - Matej Cepl <mc...@suse.com> + +- Add plistlib-Data.patch to avoid deprecated plistslib.Data + (bt#wooster/biplist#12). + +------------------------------------------------------------------- New: ---- plistlib-Data.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-biplist.spec ++++++ --- /var/tmp/diff_new_pack.REFeqU/_old 2021-06-01 10:41:06.841186130 +0200 +++ /var/tmp/diff_new_pack.REFeqU/_new 2021-06-01 10:41:06.845186137 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-biplist # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,6 +27,9 @@ Source: https://files.pythonhosted.org/packages/source/b/biplist/biplist-%{version}.tar.gz # Test on 32bit expects long==int which is true only on py3 Patch0: skip-test.patch +# PATCH-FIX-UPSTREAM plistlib-Data.patch bt#wooster/biplist#12 mc...@suse.com +# Add plistlib-Data.patch to avoid deprecated plistslib.Data +Patch1: plistlib-Data.patch BuildRequires: %{python_module coverage} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -42,8 +45,7 @@ plists which can be read by OS X, iOS, or other clients. %prep -%setup -q -n biplist-%{version} -%patch0 -p1 +%autosetup -p1 -n biplist-%{version} %build %python_build @@ -53,7 +55,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec -m unittest discover -s tests -v +%pyunittest discover -s tests -v %files %{python_files} %license LICENSE ++++++ plistlib-Data.patch ++++++ --- biplist/__init__.py | 154 ++++++++++++++++++++++++++-------------------------- 1 file changed, 77 insertions(+), 77 deletions(-) --- a/biplist/__init__.py +++ b/biplist/__init__.py @@ -150,8 +150,8 @@ def wrapDataObject(o, for_binary=False): if isinstance(o, Data) and not for_binary: v = sys.version_info if not (v[0] >= 3 and v[1] >= 4): - o = plistlib.Data(o) - elif isinstance(o, (bytes, plistlib.Data)) and for_binary: + o = bytes(o) + elif isinstance(o, bytes) and for_binary: if hasattr(o, 'data'): o = Data(o.data) elif isinstance(o, tuple):