From 5febc20c8221218c870dbafa469d4d841bb1d1c0 Mon Sep 17 00:00:00 2001 From: wangyb Date: Wed, 30 Aug 2006 06:41:59 +0000 Subject: [PATCH] lustre-kernel-2.4.spec uses '_tmppath' instead of '_tmpdir' in its Builtroot variable. so let's pass the right macro definition to it. --- build/lbuild | 6 +++--- build/lmake | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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." -- 1.8.3.1