From: wangyb Date: Wed, 30 Aug 2006 06:41:59 +0000 (+0000) Subject: lustre-kernel-2.4.spec uses '_tmppath' instead of '_tmpdir' in its Builtroot variable. X-Git-Tag: 1.4.10~261 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=5febc20c8221218c870dbafa469d4d841bb1d1c0;p=fs%2Flustre-release.git lustre-kernel-2.4.spec uses '_tmppath' instead of '_tmpdir' in its Builtroot variable. so let's pass the right macro definition to it. --- diff --git a/build/lbuild b/build/lbuild index cfdc8a0..e643ee2 100755 --- a/build/lbuild +++ b/build/lbuild @@ -546,13 +546,13 @@ build_kernel() done $RPMBUILD $targets -bb lustre-kernel-2.4.spec \ - --define "_tmpdir $TMPDIR" \ + --define "_tmppath $TMPDIR" \ --define "_topdir $TOPDIR" || \ fatal 1 "Error building rpms for $BUILD_ARCHS." if (( $DO_SRC )) ; then $RPMBUILD -bs lustre-kernel-2.4.spec \ - --define "_tmpdir $TMPDIR" \ + --define "_tmppath $TMPDIR" \ --define "_topdir $TOPDIR" || \ fatal 1 "Error building .src.rpm." fi @@ -578,7 +578,7 @@ build_lustre() ./configure "--with-linux=${LINUX}" ${CONFIGURE_FLAGS} $RPMBUILD $targets -bb build/lustre.spec \ - --define "_tmpdir $TMPDIR" \ + --define "_tmppath $TMPDIR" \ --define "_topdir $TOPDIR" || \ fatal 1 "Error building rpms for $BUILD_ARCHS." diff --git a/build/lmake b/build/lmake index 4aa15d2..1afbb1a 100755 --- a/build/lmake +++ b/build/lmake @@ -493,7 +493,7 @@ build_lustre() < build/lustre.spec.in \ > build/lustre.spec $RPMBUILD --target ${TARGET_ARCH} -bb build/lustre.spec \ - --define "_tmpdir $TMPDIR" \ + --define "_tmppath $TMPDIR" \ --define "_topdir $(lbuild_topdir)" || \ fatal 1 "Error building Lustre rpms." # $MAKE_J "$MAKE_CC" || fatal 1 "Error building Lustre."