require python-sphinx10 on EPEL

This commit is contained in:
Dan Callaghan 2013-10-09 11:39:02 +10:00
parent b58a734338
commit 805028d364

View File

@ -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 <dcallagh@redhat.com> - 1.1.8-3
- require python-sphinx10 on EPEL
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild