]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- cosmetics, always pass %clean redefine
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 21 Jan 2008 00:48:09 +0000 (00:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    repackage.sh -> 1.17

repackage.sh

index d39a6bd812c5f80ccba0b42fcc49eec6d9d32bc5..04a0ed32bd1f2744c9f04ba3fcf00dcc0561aeab 100644 (file)
@@ -21,7 +21,14 @@ set -e
 
 rpmbuild() {
        set -x
-       /usr/bin/rpmbuild ${TARGET:+--target $TARGET} $BCONDS --short-circuit --define '_source_payload w9.gzdio' --define 'check exit 0; %{nil}' "$@" || exit
+       /usr/bin/rpmbuild \
+               --define '_source_payload w9.gzdio' \
+               --define 'clean exit 0; %{nil}' \
+               --define 'check exit 0; %{nil}' \
+               ${TARGET:+--target $TARGET} \
+               $BCONDS \
+               --short-circuit \
+               "$@" || exit
 }
 
 specfile="${1%.spec}.spec"; shift
@@ -38,4 +45,4 @@ BCONDS=$(./builder -nn -ncs --show-bcond-args $specfile)
 if [[ *$@* != *-bb* ]]; then
        rpmbuild -bi "$@"
 fi
-rpmbuild -bb --define 'clean exit 0; %{nil}' "$@"
+rpmbuild -bb "$@"
This page took 0.03657 seconds and 4 git commands to generate.