From: Brian J. Murrell Date: Wed, 16 Dec 2009 20:03:07 +0000 (-0500) Subject: b=21527 Use %configure in the RPM SPEC file X-Git-Tag: 1.10.0.33~24 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=98fd9942abbc7503fc9f1885e58b88887daa6e73 b=21527 Use %configure in the RPM SPEC file use the %configure macro defined by the RPM installation so that the vendor's filesystem hierarchy preferences are observered i=wangyb i=yangsheng --- diff --git a/lustre.spec.in b/lustre.spec.in index 30fdce8..2b1903f 100644 --- a/lustre.spec.in +++ b/lustre.spec.in @@ -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