2 # will build package, skipping %prep and %build stage
6 # do do only %build stage (ie after %prep has been done), for example after
7 # modifying some sources for more complicated specs wholse %build is not just
9 # SPECS$ ./compile.sh kdelibs.spec
11 # See also: SPECS/repackage.sh
19 /usr/bin/rpmbuild ${TARGET:+--target $TARGET} $BCONDS --short-circuit "$@" || exit
22 specfile="${1%.spec}.spec"; shift
23 set -- "$specfile" "$@"
25 tmp=$(awk '/^BuildArch:/ { print $NF}' $specfile)
30 BCONDS=$(./builder -nn -ncs --show-bcond-args $specfile)