From 2cd9b31a5f032af807dea7b3d1b40592444154b5 Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Thu, 28 Mar 2013 11:41:25 -0400 Subject: glusterfs.spec.in: sync with fedora glusterfs.spec add --without ufo Change-Id: If1b77003ded537f9664fa6ad677d48d118516c64 Signed-off-by: Kaleb S. KEITHLEY BUG: 819130 Reviewed-on: http://review.gluster.org/4742 Tested-by: Gluster Build System Tested-by: Luis Pabon Reviewed-by: Luis Pabon Reviewed-by: Anand Avati --- extras/LinuxRPM/Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'extras/LinuxRPM') 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 -- cgit