14
0

Accepting request 307316 from home:benoit_monin:branches:devel:languages:python

- update to version 4.0.7
- switch the source archive to tar.gz (zip not available)
- remove unzip from BuildRequires
- pass -q to test to avoid spamming the build log

OBS-URL: https://build.opensuse.org/request/show/307316
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.exceptions?expand=0&rev=7
This commit is contained in:
Michal Čihař
2015-05-19 07:16:32 +00:00
committed by Git OBS Bridge
parent 2f126fcad8
commit af6bcf74ff
4 changed files with 17 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-zope.exceptions
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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
@@ -17,16 +17,15 @@
Name: python-zope.exceptions
Version: 4.0.6
Version: 4.0.7
Release: 0
Summary: Zope Exceptions
License: ZPL-2.1
Group: Development/Languages/Python
Url: http://cheeseshop.python.org/pypi/zope.exceptions
Source: http://pypi.python.org/packages/source/z/zope.exceptions/zope.exceptions-%{version}.zip
Source: http://pypi.python.org/packages/source/z/zope.exceptions/zope.exceptions-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: unzip
# Documentation requirements:
BuildRequires: python-Sphinx
BuildRequires: python-repoze.sphinx.autointerface
@@ -69,7 +68,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
#NOTE(frispete): run tests against source in order to avoid the need for an
# external test package
%check
PYTHONPATH=$(pwd)/src python setup.py test
PYTHONPATH=$(pwd)/src python setup.py -q test
%files
%defattr(-,root,root,-)