14
0

Accepting request 210366 from home:posophe:branches:devel:languages:python

little changes

OBS-URL: https://build.opensuse.org/request/show/210366
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.component?expand=0&rev=3
This commit is contained in:
Denisart Benjamin
2013-12-10 13:14:14 +00:00
committed by Git OBS Bridge
parent d3b05cd336
commit d77e94319c
4 changed files with 23 additions and 19 deletions

View File

@@ -23,32 +23,30 @@ Url: http://www.python.org/pypi/zope.component
Summary: Zope Component Architecture
License: ZPL-2.1
Group: Development/Languages/Python
Source: zope.component-%{version}.tar.bz2
Source: https://pypi.python.org/packages/source/z/zope.component/zope.component-%{version}.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-Sphinx
# Documentation requirements:
BuildRequires: python-repoze.sphinx.autointerface
BuildRequires: python-setuptools
BuildRequires: python-zope.interface >= 3.8.0
BuildRequires: python-zope.configuration
BuildRequires: python-zope.event
Requires: python-zope.interface >= 3.8.0
Requires: python-zope.event
BuildRequires: python-zope.hookable
BuildRequires: python-zope.interface >= 3.8.0
BuildRequires: python-persistent
# Testing requirements:
BuildRequires: python-zope.proxy
#TODO: fix circular dependency with python-zope.security
#BuildRequires: python-zope.security
BuildRequires: python-zope.testing
BuildRequires: python-zope.configuration
BuildRequires: python-zope.hookable
BuildRequires: python-persistent
# Documentation requirements:
BuildRequires: python-Sphinx
BuildRequires: python-repoze.sphinx.autointerface
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
BuildRequires: unzip
Requires: python-zope.interface >= 3.8.0
Requires: python-zope.event
%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
%endif
%endif
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description
This package is intended to be independently reusable in any Python project. It