Hello community, here is the log from the commit of package python-binplist for openSUSE:Factory checked in at 2018-05-29 10:49:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-binplist (Old) and /work/SRC/openSUSE:Factory/.python-binplist.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-binplist" Tue May 29 10:49:36 2018 rev:6 rq:612665 version:0.1.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-binplist/python-binplist.changes 2015-07-14 17:46:24.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-binplist.new/python-binplist.changes 2018-05-29 10:49:36.790102270 +0200 @@ -1,0 +2,15 @@ +Mon May 28 14:06:46 UTC 2018 - [email protected] + +- Upgrade to 0.1.5 + * Minor lint changes + * PlistToUnicode moved to the main module (with added tests) + * Ability to select the output encoding +- Clean up spec and prepare for singlespec (although switched off now, + as the upstream has not ported to py3k yet) + +------------------------------------------------------------------- +Thu Aug 24 13:33:18 UTC 2017 - [email protected] + +- singlespec auto-conversion + +------------------------------------------------------------------- @@ -23,0 +39 @@ + Old: ---- binplist-0.1.4.tar.gz New: ---- v0.1.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-binplist.spec ++++++ --- /var/tmp/diff_new_pack.cKVm20/_old 2018-05-29 10:49:37.262084858 +0200 +++ /var/tmp/diff_new_pack.cKVm20/_new 2018-05-29 10:49:37.266084709 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-binplist # -# Copyright (c) 2015 SUSE LINUX Products 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 @@ -16,41 +16,48 @@ # -Name: python-binplist -Version: 0.1.4 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define upname binplist + +# Temporarily switch off python3 build as the upstream package has not +# been converted yet, and the port is not trivial. +%define skip_python3 1 + +Name: python-%{upname} +Version: 0.1.5 Release: 0 Summary: Binary property list (plist) parser module written in python License: Apache-2.0 Group: Development/Libraries/Python -Url: https://code.google.com/p/binplist/ -Source: https://binplist.googlecode.com/files/binplist-0.1.4.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%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 +URL: https://github.com/google/%{upname} +Source: https://github.com/google/%{upname}/archive/v%{version}.tar.gz +BuildRequires: %{python_module pytz} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch -%endif +%python_subpackages %description binplist is a binary property list (plist) parser module written in python. %prep -%setup -q -n binplist-%{version} -# delete the interpreter -sed -i -e "/#!\/usr\/local\/bin/d" binplist/binplist.py +%autosetup -p1 -n %{upname}-%{version} %build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_exec setup.py test -v -%files -%defattr(-,root,root) -%doc COPYING +%files %{python_files} +%license COPYING %{_bindir}/plist.py -%{python_sitelib}/binplist-%{version}-py%{py_ver}.egg-info +%{python_sitelib}/binplist-%{version}-py%{python_version}.egg-info %{python_sitelib}/binplist %changelog
