Whamcloud - gitweb
b=21527 Use %configure in the RPM SPEC file
authorBrian J. Murrell <brian@sun.com>
Wed, 16 Dec 2009 20:22:57 +0000 (15:22 -0500)
committerjohann <johann@granier.local>
Wed, 16 Dec 2009 22:50:29 +0000 (23:50 +0100)
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