diff --git a/biplist-1.0.2.tar.gz b/biplist-1.0.2.tar.gz deleted file mode 100644 index 54d2360..0000000 --- a/biplist-1.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d2f974dd0972a70af6b8ff3b50ad165982bdba49ad8bcc47a58b28b9cc20ec34 -size 16246 diff --git a/biplist-1.0.3.tar.gz b/biplist-1.0.3.tar.gz new file mode 100644 index 0000000..8648f4d --- /dev/null +++ b/biplist-1.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c0549764c5fe50b28042ec21aa2e14fe1a2224e239a1dae77d9e7f3932aa4c6 +size 21258 diff --git a/python-biplist.changes b/python-biplist.changes index d9cb5c9..e88d050 100644 --- a/python-biplist.changes +++ b/python-biplist.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue May 22 12:18:24 UTC 2018 - tchvatal@suse.com + +- Disable one test that expect int to be equal to long on 32bit + +------------------------------------------------------------------- +Tue May 22 12:13:16 UTC 2018 - tchvatal@suse.com + +- Update to version 1.0.3: + * Added additional checks to guard against invalid plists. This includes writing and reading plists with recursive collections. + * Handle OverflowErrors when reading dates outside the range of datetime.datetime + ------------------------------------------------------------------- Thu Aug 31 06:07:29 UTC 2017 - toddrme2178@gmail.com diff --git a/python-biplist.spec b/python-biplist.spec index 0cf779f..35e7774 100644 --- a/python-biplist.spec +++ b/python-biplist.spec @@ -1,7 +1,7 @@ # # spec file for package python-biplist # -# 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 @@ -15,29 +15,22 @@ # 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: 1.0.2 +Version: 1.0.3 Release: 0 Summary: A library for reading/writing binary plists License: BSD-3-Clause Group: Development/Languages/Python -Url: https://bitbucket.org/wooster/biplist +URL: https://bitbucket.org/wooster/biplist Source: https://files.pythonhosted.org/packages/source/b/biplist/biplist-%{version}.tar.gz +BuildRequires: %{python_module coverage} BuildRequires: %{python_module devel} +BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: %{python_module coverage} -BuildRequires: %{python_module nose} -%endif BuildArch: noarch %python_subpackages @@ -58,14 +51,13 @@ plists which can be read by OS X, iOS, or other clients. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check -%python_exec setup.py test -%endif +# Test on 32bit expects long==int which is true only on py3 +%python_expand nosetests-%{$python_bin_suffix} -e testIntBoundaries %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS LICENSE README.md +%license LICENSE +%doc AUTHORS README.md %{python_sitelib}/* %changelog