summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2013-03-28 11:41:25 -0400
committerAnand Avati <avati@redhat.com>2013-03-28 14:28:24 -0700
commitb9ed20fb488d6ec8468f77c427631cda61d5f878 (patch)
treecf62a39f59eabb162be20247f1a3f75e0314d018 /extras
parent158e51c17c0f569a1c107fa8747cf8d3fdb76b6d (diff)
glusterfs.spec.in: sync with fedora glusterfs.spec
add --without ufo cherry-pick from refs/changes/42/4742/1 Change-Id: If1b77003ded537f9664fa6ad677d48d118516c64 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> BUG: 819130 Reviewed-on: http://review.gluster.org/4743 Tested-by: Gluster Build System <jenkins@build.gluster.com> Tested-by: Luis Pabon <lpabon@redhat.com> Reviewed-by: Luis Pabon <lpabon@redhat.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'extras')
-rw-r--r--extras/LinuxRPM/Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/extras/LinuxRPM/Makefile.am b/extras/LinuxRPM/Makefile.am
index cf8f44a0550..cfbe429df01 100644
--- a/extras/LinuxRPM/Makefile.am
+++ b/extras/LinuxRPM/Makefile.am
@@ -13,6 +13,9 @@ all:
glusterrpms: prep srcrpm rpms
-rm -rf rpmbuild
+glusterrpmswithoutufo: prep srcrpm rpmswithoutufo
+ -rm -rf rpmbuild
+
prep::
if [ ! -e $(GFS_TAR) -a ! -e $(UFO_TAR) -a ! -e $(GFS_SPEC) ]; then \
$(MAKE) -c ../.. dist; \
@@ -63,6 +66,10 @@ rpms:
rpmbuild --define '_topdir $(shell pwd)/rpmbuild' -bb rpmbuild/SPECS/glusterfs.spec
mv rpmbuild/RPMS/*/* .
+rpmswithoutufo:
+ rpmbuild --define '_topdir $(shell pwd)/rpmbuild' -bb rpmbuild/SPECS/glusterfs.spec --without ufo
+ mv rpmbuild/RPMS/*/* .
+
# EPEL-5 does not like new versions of rpmbuild and requires some
# _source_* defines