fix sphinx requirement on RHEL 7

s/sphinx10/sphinx/
This commit is contained in:
Pádraig Brady 2014-02-10 17:53:30 +00:00
parent 805028d364
commit 9e40dd7fba

View File

@ -7,7 +7,7 @@
Name: python-%{upstream_name}
Version: 1.1.8
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Sphinx domain for documenting HTTP APIs
License: BSD
URL: http://packages.python.org/sphinxcontrib-httpdomain/
@ -23,8 +23,8 @@ Group: Development/Libraries
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%endif
%if 0%{?rhel}
# This extension does not work with Sphinx 0.6 as shipped in RHEL,
%if 0%{?rhel} <= 6
# This extension does not work with Sphinx 0.6 as shipped in RHEL6,
# only with Sphinx 1.0 in EPEL.
Requires: python-sphinx10
%else
@ -61,6 +61,9 @@ rm -rf %{buildroot}
%{python_sitelib}/*
%changelog
* Mon Feb 10 2014 Pádraig Brady <pbrady@redhat.com> - 1.1.8-4
- fix sphinx requirement on RHEL 7
* Wed Oct 09 2013 Dan Callaghan <dcallagh@redhat.com> - 1.1.8-3
- require python-sphinx10 on EPEL