[openlmi-networking/f20] Add patch to use default theme

Radek Novacek rnovacek at fedoraproject.org
Tue Oct 15 07:57:15 UTC 2013


commit 922cd1e2f5abfddd57692fc59d3db363650e876e
Author: Radek Novacek <rnovacek at redhat.com>
Date:   Tue Oct 15 09:56:42 2013 +0200

    Add patch to use default theme

 openlmi-networking-0.2.0-use-default-theme.patch |   12 ++++++++++++
 openlmi-networking.spec                          |    4 ++++
 2 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/openlmi-networking-0.2.0-use-default-theme.patch b/openlmi-networking-0.2.0-use-default-theme.patch
new file mode 100644
index 0000000..3a91ccb
--- /dev/null
+++ b/openlmi-networking-0.2.0-use-default-theme.patch
@@ -0,0 +1,12 @@
+diff -up openlmi-networking-0.2.0/doc/admin/conf.py.default-theme openlmi-networking-0.2.0/doc/admin/conf.py
+--- openlmi-networking-0.2.0/doc/admin/conf.py.default-theme	2013-10-15 09:54:58.966611181 +0200
++++ openlmi-networking-0.2.0/doc/admin/conf.py	2013-10-15 09:55:06.437818625 +0200
+@@ -100,7 +100,7 @@ pygments_style = 'sphinx'
+ 
+ # The theme to use for HTML and HTML Help pages.  See the documentation for
+ # a list of builtin themes.
+-html_theme = 'openlmitheme'
++html_theme = 'default'
+ 
+ # Theme options are theme-specific and customize the look and feel of a theme
+ # further.  For a list of options available for each theme, see the
diff --git a/openlmi-networking.spec b/openlmi-networking.spec
index d09afb8..6b447af 100644
--- a/openlmi-networking.spec
+++ b/openlmi-networking.spec
@@ -33,6 +33,9 @@ Requires:       cim-server
 # Require openlmi-providers because of registration scripts
 Requires:       openlmi-providers >= 0.1.0
 
+# Get rid of this patch once theme is available
+Patch0:         openlmi-networking-0.2.0-use-default-theme.patch
+
 %description
 %{name} is set of CMPI providers for network management using
 Common Information Model (CIM).
@@ -49,6 +52,7 @@ BuildArch:      noarch
 
 %prep
 %setup -q
+%patch0 -p1 -b .default-theme
 
 
 %build


More information about the scm-commits mailing list