Whamcloud - gitweb
~sigh~ rpm macros are not empty if undefined.
authorbrian <brian>
Wed, 5 Apr 2006 17:35:48 +0000 (17:35 +0000)
committerbrian <brian>
Wed, 5 Apr 2006 17:35:48 +0000 (17:35 +0000)
build/lustre.spec.in

index c8b1268..78b770c 100644 (file)
@@ -86,7 +86,7 @@ rm -rf $RPM_BUILD_ROOT
 
 # Set an explicit path to our Linux tree, if we can.
 cd $RPM_BUILD_DIR/lustre-%{version}
 
 # Set an explicit path to our Linux tree, if we can.
 cd $RPM_BUILD_DIR/lustre-%{version}
-./configure @ac_configure_args@ %{configure_flags} \
+./configure @ac_configure_args@ %{?configure_flags:configure_flags} \
        --sysconfdir=%{_sysconfdir} \
        --mandir=%{_mandir} \
        --libdir=%{_libdir}
        --sysconfdir=%{_sysconfdir} \
        --mandir=%{_mandir} \
        --libdir=%{_libdir}