Whamcloud - gitweb
b=21527 Use %configure in the RPM SPEC file
authorBrian J. Murrell <brian@sun.com>
Wed, 16 Dec 2009 20:03:07 +0000 (15:03 -0500)
committerRobert Read <rread@sun.com>
Wed, 16 Dec 2009 21:43:59 +0000 (13:43 -0800)
use the %configure macro defined by the RPM installation so that the
vendor's filesystem hierarchy preferences are observered

i=wangyb
i=yangsheng

lustre.spec.in

index 30fdce8..2b1903f 100644 (file)
@@ -106,10 +106,7 @@ rm -rf $RPM_BUILD_ROOT
 
 # Set an explicit path to our Linux tree, if we can.
 cd $RPM_BUILD_DIR/lustre-%{version}
-./configure @ac_configure_args@ %{?configure_flags:configure_flags} \
-       --sysconfdir=%{_sysconfdir} \
-       --mandir=%{_mandir} \
-       --libdir=%{_libdir}
+%configure @ac_configure_args@ %{?configure_flags:configure_flags}
 make -j $RPM_BUILD_NCPUS -s
 
 %install