forgotten --root for substitutedeps
authorAdrian Schröter <adrian@suse.de>
Tue, 19 Jan 2010 13:24:26 +0000 (14:24 +0100)
committerAdrian Schröter <adrian@suse.de>
Tue, 19 Jan 2010 13:24:26 +0000 (14:24 +0100)
build

diff --git a/build b/build
index f2b4ca1..0026598 100755 (executable)
--- a/build
+++ b/build
@@ -1365,7 +1365,7 @@ for SPECFILE in "${SPECFILES[@]}" ; do
        if test -n "$RELEASE"; then
                args=(--release "$RELEASE")
        fi
-       substitutedeps "${args[@]}" --dist "$BUILD_DIST" --archpath "$BUILD_ARCH" --configdir "$BUILD_DIR/configs" $CHANGELOGARGS "$BUILD_ROOT$TOPDIR/SOURCES/$SPECFILE" "$BUILD_ROOT/.spec.new" || cleanup_and_exit 1
+       substitutedeps "${args[@]}" --root "$BUILD_ROOT" --dist "$BUILD_DIST" --archpath "$BUILD_ARCH" --configdir "$BUILD_DIR/configs" $CHANGELOGARGS "$BUILD_ROOT$TOPDIR/SOURCES/$SPECFILE" "$BUILD_ROOT/.spec.new" || cleanup_and_exit 1
        # extract macros from configuration
        getmacros --dist "$BUILD_DIST" --archpath "$BUILD_ARCH" --configdir "$BUILD_DIR/configs" > $BUILD_ROOT/root/.rpmmacros
        if test -n "$BUILD_DEBUG" ; then