forked from pool/python-zope.configuration
Accepting request 307307 from home:benoit_monin:branches:devel:languages:python
- update to version 4.0.3 - point the source URL to pypi - add fdupes as BuildRequires and call it after install - pass -q to the test to avoid spamming the build log - rename CHANGES.txt to CHANGES.rst: changed upstream - rename README.txt to README.rst: changed upstream OBS-URL: https://build.opensuse.org/request/show/307307 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.configuration?expand=0&rev=3
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-zope.configuration
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -12,26 +12,28 @@
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
#
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: python-zope.configuration
|
||||
Version: 4.0.2
|
||||
Version: 4.0.3
|
||||
Release: 0
|
||||
Url: http://www.python.org/pypi/zope.configuration
|
||||
Summary: Zope Configuration Markup Language (ZCML)
|
||||
License: ZPL-2.1
|
||||
Group: Development/Languages/Python
|
||||
Source: zope.configuration-%{version}.tar.gz
|
||||
Source: https://pypi.python.org/packages/source/z/zope.configuration/zope.configuration-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-zope.i18nmessageid
|
||||
BuildRequires: python-zope.interface
|
||||
BuildRequires: python-zope.schema
|
||||
Requires: python-zope.i18nmessageid
|
||||
Requires: python-zope.interface
|
||||
Requires: python-zope.schema
|
||||
Requires: python-zope.i18nmessageid
|
||||
Requires: python-zope.interface
|
||||
Requires: python-zope.schema
|
||||
# Documentation requirements:
|
||||
BuildRequires: python-Sphinx
|
||||
BuildRequires: python-repoze.sphinx.autointerface
|
||||
@@ -67,13 +69,14 @@ PYTHONPATH=$(pwd)/build/lib python setup.py build_sphinx && rm build/sphinx/html
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%fdupes %{buildroot}/%{_prefix}
|
||||
|
||||
%check
|
||||
python setup.py test
|
||||
python setup.py -q test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt
|
||||
%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst
|
||||
%python_sitelib/*
|
||||
|
||||
%files doc
|
||||
|
||||
Reference in New Issue
Block a user