really fix sphinx requirement

This commit is contained in:
Dan Callaghan 2014-02-11 09:29:17 +10:00
parent 9e40dd7fba
commit b77dd189db

View File

@ -7,7 +7,7 @@
Name: python-%{upstream_name}
Version: 1.1.8
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Sphinx domain for documenting HTTP APIs
License: BSD
URL: http://packages.python.org/sphinxcontrib-httpdomain/
@ -23,7 +23,7 @@ Group: Development/Libraries
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%endif
%if 0%{?rhel} <= 6
%if 0%{?rhel} > 0 && 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
@ -61,6 +61,9 @@ rm -rf %{buildroot}
%{python_sitelib}/*
%changelog
* Tue Feb 11 2014 Dan Callaghan <dcallagh@redhat.com> - 1.1.8-5
- really fix sphinx requirement
* Mon Feb 10 2014 Pádraig Brady <pbrady@redhat.com> - 1.1.8-4
- fix sphinx requirement on RHEL 7