Require python-zope-interface4 forward-compat package on el6.

epel8
Ralph Bean 12 years ago
parent ef1c77281f
commit 96f8379e72

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

Loading…
Cancel
Save