[python-django-horizon/el6] adjust to sphinx version in EPEL

Pádraig Brady pbrady at fedoraproject.org
Fri Apr 27 14:00:57 UTC 2012


commit ecf64806fd0bdcf45b8ada586596d8307745eac8
Author: Pádraig Brady <P at draigBrady.com>
Date:   Fri Apr 27 14:59:49 2012 +0100

    adjust to sphinx version in EPEL

 python-django-horizon.spec |    2 ++
 sphinx-sidebarwidth.patch  |   13 +++++++++++++
 2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/python-django-horizon.spec b/python-django-horizon.spec
index 2967260..6b814db 100644
--- a/python-django-horizon.spec
+++ b/python-django-horizon.spec
@@ -25,6 +25,7 @@ Source1:    openstack-dashboard.conf
 Patch1:     %{name}-disable-debug.patch
 Patch2:     %{name}-default-db.patch
 Patch3:     xss-in-log-viewer.patch
+Patch4:     sphinx-sidebarwidth.patch
 
 Requires:   Django >= 1.3.0
 Requires:   openstack-glance >= 2012.1
@@ -90,6 +91,7 @@ Documentation for the Django Horizon application for talking with Openstack
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__python} setup.py build
diff --git a/sphinx-sidebarwidth.patch b/sphinx-sidebarwidth.patch
new file mode 100644
index 0000000..987a919
--- /dev/null
+++ b/sphinx-sidebarwidth.patch
@@ -0,0 +1,13 @@
+This is only supported in sphinx >= 1.1.3
+and EPEL has a parallel version  == 1.0.8
+diff -Naur horizon-2012.1.orig/docs/source/conf.py horizon-2012.1/docs/source/conf.py
+--- horizon-2012.1.orig/docs/source/conf.py	2012-04-04 02:13:34.000000000 +0000
++++ horizon-2012.1/docs/source/conf.py	2012-04-27 13:54:24.275414946 +0000
+@@ -218,7 +218,6 @@
+ # documentation.
+ html_theme_options = {
+     "nosidebar": "false",
+-    "sidebarwidth": "500px"
+ }
+ 
+ # Add any paths that contain custom themes here, relative to this directory.


More information about the scm-commits mailing list