[python-cement/el6: 6/6] Adding Patch3 (sphinx fixes)

derks derks at fedoraproject.org
Wed Jul 13 00:12:19 UTC 2011


commit 5e3511cc177a912c03ea68f6519bd6517369b155
Author: BJ Dierkes <wdierkes at rackspace.com>
Date:   Tue Jul 12 19:11:55 2011 -0500

    Adding Patch3 (sphinx fixes)

 cement-0.8.18-sphinx.patch |   12 ++++++++++++
 python-cement.spec         |    7 ++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/cement-0.8.18-sphinx.patch b/cement-0.8.18-sphinx.patch
new file mode 100644
index 0000000..f00a318
--- /dev/null
+++ b/cement-0.8.18-sphinx.patch
@@ -0,0 +1,12 @@
+extlinks not available in sphinx-0.6.6.
+
+--- cement-0.8.18/doc/source/conf.py.orig	2011-07-12 19:08:22.000000000 -0500
++++ cement-0.8.18/doc/source/conf.py	2011-07-12 19:08:40.000000000 -0500
+@@ -33,7 +33,6 @@
+ # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
+ extensions = [
+     'sphinx.ext.autodoc',
+-    'sphinx.ext.extlinks'
+     ]
+ 
+ extlinks = {'issue' : ('https://github.com/derks/cement/issues/%s', 'Issue #')}
diff --git a/python-cement.spec b/python-cement.spec
index 13072c2..2c03629 100644
--- a/python-cement.spec
+++ b/python-cement.spec
@@ -33,7 +33,7 @@
 
 Name: python-cement
 Version: 0.8.18
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: CLI Application Framework for Python
 Group: Development/Libraries    
 
@@ -64,6 +64,7 @@ BuildRequires: python-nose, python-coverage
 #Patch0: cement-0.8.18-testing.patch
 Patch1: cement-0.8.18-setuptools.patch
 Patch2: cement-0.8.18-paths.patch
+Patch3: cement-0.8.18-sphinx.patch
 
 %description
 Cement is an advanced CLI Application Framework for Python. It promotes code
@@ -112,6 +113,7 @@ Framework for Python.
 #%%patch0 -p1 -b .testing
 %patch1 -p1 -b .setuptools
 %patch2 -p1 -b .paths
+%patch3 -p1 -b .sphinx
 
 mv src/cement/LICENSE.psf .
 
@@ -190,6 +192,9 @@ rm -rf %{buildroot}
 %endif
 
 %changelog
+* Tue Jul 12 2011 BJ Dierkes <wdierkes at rackspace.com> - 0.8.18-3
+- Added Patch3: cement-0.8.18-sphinx.patch
+
 * Tue Jul 12 2011 BJ Dierkes <wdierkes at rackspace.com> - 0.8.18-2
 - Removed Patch0: cement-testing.patch (reworked in Patch2)
 - Added Patch1: cement-0.8.18-setuptools.patch


More information about the scm-commits mailing list