[glusterfs] glusterfs-3.4.0-0.2alpha3, take two
Kaleb S. KEITHLEY
kkeithle at fedoraproject.org
Thu Apr 18 19:42:06 UTC 2013
commit 956b8e067269b9f6d75be44ff8550ef82e073f34
Author: Kaleb S. KEITHLEY <kkeithle at redhat.com>
Date: Thu Apr 18 15:41:14 2013 -0400
glusterfs-3.4.0-0.2alpha3, take two
...dd-fixes-for-building-the-doc-package.patch.180 | 37 ++++++++++++++++++++
glusterfs.spec | 5 +++
2 files changed, 42 insertions(+), 0 deletions(-)
---
diff --git a/0002-Add-fixes-for-building-the-doc-package.patch.180 b/0002-Add-fixes-for-building-the-doc-package.patch.180
new file mode 100644
index 0000000..a3c1856
--- /dev/null
+++ b/0002-Add-fixes-for-building-the-doc-package.patch.180
@@ -0,0 +1,37 @@
+From 7df10fb14d27e35faa590770594ea1b05552576f Mon Sep 17 00:00:00 2001
+From: Alan Pevec <apevec at redhat.com>
+Date: Thu, 5 Jan 2012 00:03:00 +0100
+Subject: [PATCH] Add fixes for building the doc package
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Don't access the net and always reference
+the swift module from the package we're building
+Based on Nova/Glance EPEL patch by Pádraig Brady <P at draigBrady.com>
+---
+ doc/source/conf.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/doc/source/conf.py b/doc/source/conf.py
+index e6a43b0..3734cd4 100644
+--- a/doc/source/conf.py
++++ b/doc/source/conf.py
+@@ -20,14 +20,14 @@ import os
+ # If extensions (or modules to document with autodoc) are in another directory,
+ # add these directories to sys.path here. If the directory is relative to the
+ # documentation root, use os.path.abspath to make it absolute, like shown here.
+-sys.path.extend([os.path.abspath('../swift'), os.path.abspath('..'),
+- os.path.abspath('../bin')])
++sys.path.extend([os.path.abspath('../../swift'), os.path.abspath('../..'),
++ os.path.abspath('../../bin')])
+
+ # -- General configuration ----------------------------------------------------
+
+ # Add any Sphinx extension module names here, as strings. They can be
+ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
+-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx',
++extensions = ['sphinx.ext.autodoc',
+ 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.pngmath',
+ 'sphinx.ext.ifconfig']
+ todo_include_todos = True
diff --git a/glusterfs.spec b/glusterfs.spec
index 56b1810..bc22d5c 100644
--- a/glusterfs.spec
+++ b/glusterfs.spec
@@ -368,6 +368,7 @@ Patch20: 0001-Use-updated-parallel-install-versions-of-epel-packag.patc
Patch21: 0002-Add-fixes-for-building-the-doc-package.patch
Patch22: glusterfs-3.3.1.swift.constraints.backport-1.7.4.patch
Patch23: glusterfs-3.4.0.swift.egginfo-grizzly.patch
+Patch24: 0002-Add-fixes-for-building-the-doc-package.patch.180
#BuildRoot: %(mktemp -ud %{_tmppath}/swift-%{SWIFTVER}-%{release}-XXXXXX)
%if ( 0%{?_with_systemd:1} )
@@ -546,7 +547,11 @@ storage costs.
cd swift-%{SWIFTVER}
%if ( 0%{?rhel} && 0%{?rhel} < 7 )
%patch20 -p1
+%if "%{SWIFTVER}" == "1.7.4"
%patch21 -p1
+%else
+%endif
+%patch24 -p1
%endif
%if "%{SWIFTVER}" == "1.7.4"
%patch22 -p1
More information about the scm-commits
mailing list