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 --- glusterfs.spec.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'glusterfs.spec.in') diff --git a/glusterfs.spec.in b/glusterfs.spec.in index f6be2f70f..208c27603 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -26,6 +26,10 @@ # rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without ocf %{?_without_ocf:%global _without_ocf --without-ocf} +# if you wish to build rpms without UFO, compile like this +# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@tar.gz --without ufo +%{?_without_ufo:%global _without_ufo true} + %if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 ) %global SWIFTVER 1.7.4 %if 0%{_for_fedora_koji_builds} @@ -33,8 +37,10 @@ %else %global UFOVER @PACKAGE_VERSION@ %endif +%if ! 0%{?_without_ufo:1} %global _with_ufo true %endif +%endif %if ( 0%{?fedora} && 0%{?fedora} > 16 ) || ( 0%{?rhel} && 0%{?rhel} > 6 ) %global _with_systemd true -- cgit