summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
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 cf8f44a05..cfbe429df 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