forked from pool/python-biplist
- Disable one test that expect int to be equal to long on 32bit
- 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 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-biplist?expand=0&rev=14
This commit is contained in:
committed by
Git OBS Bridge
parent
e1408d1b6b
commit
cb28cf932c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user