Whamcloud - gitweb
LU-11790 ldiskfs: add terminating u32 when expanding inodes
[fs/lustre-release.git] / contrib / lbuild / lbuild-sles10
index 2d3a04f..003ec28 100644 (file)
@@ -172,11 +172,7 @@ EOF
         echo "%description -n %{-n*}%{!-n:%name}-kmp-_dummy_" \
         )}
 EOF
-        local targets
-        for arch in $BUILD_ARCHS; do
-            targets="--target $(resolve_arch $arch $PATCHLESS) $targets"
-        done
-        if ! rpmbuild --rebuild --nodeps $targets \
+        if ! rpmbuild --rebuild --nodeps --target ${TARGET_ARCH} \
                                 --define "symsetsdir ${TOPDIR}/reused/boot" \
                                 --define "kobjdir ${LINUXOBJ%/*/*}" \
                                 --define "_tmppath /var/tmp" \