2 # will build package, skipping %prep and %build stage
8 # - make builder doesn't understand -bi and use builder for short-circuit
14 /usr/bin/rpmbuild ${TARGET:+--target $TARGET} --short-circuit --define '_source_payload w9.gzdio' "$@" || exit
17 bconds=$(./builder --show-bconds "$@")
18 # ignore output from older builders whose output is not compatible.
19 if [ "$(echo "$bconds" | wc -l)" -gt 1 ]; then
24 tmp=$(awk '/^BuildArch:/ { print $NF}' $SPECFILE)
29 # just create the rpm's if -bb is somewhere in the args
30 if [[ *$@* != *-bb* ]]; then
31 rpmbuild -bi $bconds "$@"
33 rpmbuild -bb --define 'clean %{nil}' $bconds "$@"