summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2013-04-23 12:57:40 -0400
committerAnand Avati <avati@redhat.com>2013-04-26 08:17:02 -0700
commit7f162316f074f19cfecca9197060e4e687658345 (patch)
tree8be2d6e1482dc20b01f87a6f24e3de694b229a80 /glusterfs.spec.in
parent92729add67e2e7b8c7589c2dfab0bde071a7faf2 (diff)
build: sync glusterfs.spec.in with Fedora glusterfs.spec
BUG: 819130 Change-Id: I96aeb8fbe8b79bbc058ff9a45167d822abb576ed Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/4877 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index ff7fb78..b7576d5 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -242,6 +242,9 @@ This package provides the glusterfs server daemon.
%package resource-agents
Summary: OCF Resource Agents for GlusterFS
License: GPLv3+
+%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 )
+BuildArch: noarch
+%endif
# this Group handling comes from the Fedora resource-agents package
%if 0%{?fedora} || 0%{?centos_version} || 0%{?rhel}
Group: System Environment/Base
@@ -345,6 +348,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}
@@ -525,11 +529,15 @@ storage costs.
%patch1 -p0
%endif
cd swift-%{SWIFTVER}
-%if "%{SWIFTVER}" == "1.7.4"
%if ( 0%{?rhel} && 0%{?rhel} < 7 )
%patch20 -p1
+%if "%{SWIFTVER}" == "1.7.4"
%patch21 -p1
+%else
+%patch24 -p1
%endif
+%endif
+%if "%{SWIFTVER}" == "1.7.4"
%patch22 -p1
%else
%patch23 -p1