From 9e40dd7fba72776d7300f5a32ad19c78b2b07867 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?=
Date: Mon, 10 Feb 2014 17:53:30 +0000
Subject: [PATCH] fix sphinx requirement on RHEL 7
s/sphinx10/sphinx/
---
python-sphinxcontrib-httpdomain.spec | 9 ++++++---
1 file 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