]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- set target and bconds first
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 27 Jan 2008 00:40:45 +0000 (00:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    repackage.sh -> 1.20

repackage.sh

index a1961c9a13bcf98c0a49428b93d95e546f1e5eaf..65cc1d06f990f54894df12dea6f43b5d8f0fa864 100644 (file)
@@ -23,16 +23,16 @@ rpmbuild() {
        # use gz payload as time is what we need here, not compress ratio
        set -x
        /usr/bin/rpmbuild \
+               ${TARGET:+--target $TARGET} \
+               $BCONDS \
+               --short-circuit \
                --define '_source_payload w9.gzdio' \
-               --define '__spec_clean_body %{nil}' \
                --define '__spec_install_pre %___build_pre' \
+               --define '__spec_clean_body %{nil}' \
                --define 'clean %%clean \
                exit 0%{nil}' \
                --define 'check %%check \
                exit 0%{nil}' \
-               ${TARGET:+--target $TARGET} \
-               $BCONDS \
-               --short-circuit \
                "$@" || exit
 }
 
This page took 0.034502 seconds and 4 git commands to generate.