diff --git a/python-sphinxcontrib-httpdomain.spec b/python-sphinxcontrib-httpdomain.spec index 7d6c2b4..b321dc7 100644 --- a/python-sphinxcontrib-httpdomain.spec +++ b/python-sphinxcontrib-httpdomain.spec @@ -7,7 +7,7 @@ Name: python-%{upstream_name} Version: 1.1.8 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Sphinx domain for documenting HTTP APIs License: BSD URL: http://packages.python.org/sphinxcontrib-httpdomain/ @@ -23,10 +23,11 @@ Group: Development/Libraries BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) %endif -# This package is not usable without Sphinx, but EPEL5 and EPEL6 have -# both python-sphinx and python-sphinx10, and we don't want to require one or -# the other in particular. -%if 0%{?fedora} +%if 0%{?rhel} +# This extension does not work with Sphinx 0.6 as shipped in RHEL, +# only with Sphinx 1.0 in EPEL. +Requires: python-sphinx10 +%else Requires: python-sphinx %endif @@ -60,6 +61,9 @@ rm -rf %{buildroot} %{python_sitelib}/* %changelog +* Wed Oct 09 2013 Dan Callaghan - 1.1.8-3 +- require python-sphinx10 on EPEL + * Sun Aug 04 2013 Fedora Release Engineering - 1.1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild