[python-sphinxcontrib-httpdomain] fix sphinx requirement on RHEL 7

Pádraig Brady pbrady at fedoraproject.org
Mon Feb 10 17:53:47 UTC 2014


commit 9e40dd7fba72776d7300f5a32ad19c78b2b07867
Author: Pádraig Brady <P at draigBrady.com>
Date:   Mon Feb 10 17:53:30 2014 +0000

    fix sphinx requirement on RHEL 7
    
    s/sphinx10/sphinx/

 python-sphinxcontrib-httpdomain.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/python-sphinxcontrib-httpdomain.spec b/python-sphinxcontrib-httpdomain.spec
index b321dc7..f8c75f6 100644
--- a/python-sphinxcontrib-httpdomain.spec
+++ b/python-sphinxcontrib-httpdomain.spec
@@ -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 at redhat.com> - 1.1.8-4
+- fix sphinx requirement on RHEL 7
+
 * Wed Oct 09 2013 Dan Callaghan <dcallagh at redhat.com> - 1.1.8-3
 - require python-sphinx10 on EPEL
 


More information about the scm-commits mailing list