diff --git a/python-zope-exceptions.spec b/python-zope-exceptions.spec index 110549a..50323e1 100644 --- a/python-zope-exceptions.spec +++ b/python-zope-exceptions.spec @@ -7,7 +7,7 @@ Summary: Zope Exceptions Name: python-zope-exceptions Version: 4.0.3 -Release: 1%{?dist} +Release: 2%{?dist} Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip License: ZPLv2.1 Group: Development/Libraries @@ -16,7 +16,14 @@ URL: http://pypi.python.org/pypi/zope.exceptions BuildRequires: python2-devel BuildRequires: python-setuptools + +%if 0%{?rhel} && 0%{?rhel} <= 6 +BuildRequires: python-zope-interface4 +Requires: python-zope-interface4 +%else BuildRequires: python-zope-interface +Requires: python-zope-interface +%endif %if 0%{?with_python3} BuildRequires: python3-devel @@ -24,8 +31,6 @@ BuildRequires: python3-setuptools BuildRequires: python3-zope-interface %endif -Requires: python-zope-interface - %description This package contains exception interfaces and implementations which are so general purpose that they don't belong in Zope application-specific packages. @@ -101,6 +106,9 @@ popd %changelog +* Tue Jan 01 2013 Ralph Bean - 4.0.3-2 +- Require python-zope-interface4 compat package on el6. + * Tue Dec 11 2012 Ralph Bean - 4.0.3-1 - Latest upstream. - Packaged a python3 subpackage.