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