diff --git a/biplist-0.9.tar.gz b/biplist-0.9.tar.gz deleted file mode 100644 index a23f7ea..0000000 --- a/biplist-0.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b57cadfd26e4754efdf89e9e37de87885f9b5c847b2615688ca04adfaf6ca604 -size 14591 diff --git a/biplist-1.0.2.tar.gz b/biplist-1.0.2.tar.gz new file mode 100644 index 0000000..54d2360 --- /dev/null +++ b/biplist-1.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2f974dd0972a70af6b8ff3b50ad165982bdba49ad8bcc47a58b28b9cc20ec34 +size 16246 diff --git a/python-biplist.changes b/python-biplist.changes index 01f4e2c..d9cb5c9 100644 --- a/python-biplist.changes +++ b/python-biplist.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Thu Aug 31 06:07:29 UTC 2017 - toddrme2178@gmail.com + +- Update to version 1.0.2 + * Sort sets and dictionaries by key when writing. +- Update to version 1.0.1 + * Adding back in Python 2.6 support. This will be removed again in a future version. +- Update to version 1.0.0 + * This release changes the type of `Uid` from a subclass of `int` to a subclass of `object`. + * This change was made to address GitHub issue Ints are being turned into Uids and vice versa when both are present in a plist. + * This release also bumps the minimum supported Python versions to 2.7 and 3.4. +- Update to version 0.9.1 + * Fixes GitHub issue ERROR: testLargeDates (test_valid.TestValidPlistFile) + * Fixes Empty Data object converted as empty string + * Creates 1-byte strings when possible + +------------------------------------------------------------------- +Thu Aug 24 13:33:20 UTC 2017 - jmatejek@suse.com + +- singlespec auto-conversion + ------------------------------------------------------------------- Sun Apr 26 13:02:09 UTC 2015 - benoit.monin@gmx.fr @@ -37,3 +58,4 @@ Wed Mar 21 22:20:07 UTC 2012 - saschpe@gmx.de - Initial version + diff --git a/python-biplist.spec b/python-biplist.spec index 5c2889d..0cf779f 100644 --- a/python-biplist.spec +++ b/python-biplist.spec @@ -1,7 +1,7 @@ # # spec file for package python-biplist # -# Copyright (c) 2015 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 @@ -15,26 +15,31 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%ifarch x86_64 +%bcond_without test +%else +%bcond_with test +%endif +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-biplist -Version: 0.9 +Version: 1.0.2 Release: 0 -Url: https://bitbucket.org/wooster/biplist Summary: A library for reading/writing binary plists License: BSD-3-Clause Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/b/biplist/biplist-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Url: https://bitbucket.org/wooster/biplist +Source: https://files.pythonhosted.org/packages/source/b/biplist/biplist-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: python-coverage -BuildRequires: python-devel >= 2.7 -BuildRequires: python-nose -BuildRequires: python-setuptools -%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 +BuildRequires: python-rpm-macros +%if %{with test} +BuildRequires: %{python_module coverage} +BuildRequires: %{python_module nose} %endif +BuildArch: noarch +%python_subpackages %description biplist is a binary plist parser/generator for Python. @@ -47,16 +52,18 @@ plists which can be read by OS X, iOS, or other clients. %setup -q -n biplist-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%fdupes %buildroot/%_prefix +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%if %{with test} %check -python setup.py -q test +%python_exec setup.py test +%endif -%files +%files %{python_files} %defattr(-,root,root,-) %doc AUTHORS LICENSE README.md %{python_sitelib}/*