diff --git a/python-zope-component.spec b/python-zope-component.spec index 3f08553..0d73a0b 100644 --- a/python-zope-component.spec +++ b/python-zope-component.spec @@ -18,7 +18,7 @@ Summary: %{summary} Name: python-%{pkgname} Epoch: 1 Version: 4.1.0 -Release: 2%{?dist} +Release: 3%{?dist} Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip License: ZPLv2.1 Group: Development/Libraries @@ -26,8 +26,9 @@ BuildArch: noarch URL: http://pypi.python.org/pypi/zope.component BuildRequires: python2-devel -BuildRequires: python-setuptools -BuildRequires: python-sphinx +BuildRequires: %{py2_namespace}-setuptools +BuildRequires: %{py2_namespace}-sphinx +BuildRequires: %{py2_namespace}-repoze-sphinx-autointerface # Python3 BuildRequires: python3-pkgversion-macros @@ -49,8 +50,9 @@ BuildRequires: python%{python3_other_pkgversion}-setuptools #BuildRequires: python-zope-testrunner %if %{py2_namespace} == python -Requires: python-zope-interface -Requires: python-zope-event +%{?python_provide:%python_provide %{py2_namespace}-%{pkgname}} +Requires: %{py2_namespace}-zope-interface +Requires: %{py2_namespace}-zope-event %endif %description %{_description} @@ -101,24 +103,9 @@ rm -rf %{modname}.egg-info %py3_other_build %endif -# build Sphinx documents -COPYRIGHT=`grep Author: PKG-INFO |sed -e 's/Author: //'` -cat >src/zope/component/conf.py < - 1:4.1.0-3 +- Use the included documentation. +- Re-add the Requires for the python- subpackage. + * Mon Apr 24 2017 Aurelien Bompard - 1:4.1.0-2 - Enable creation of the Python 3 packages in EPEL, now that the dependencies are available.