2 # will build package, skipping %prep and %build stage
6 # make only %build stage (i.e. after %prep has been done), for example after
7 # modifying some sources for more complicated specs whose %build is not just
9 # SPECS$ ./compile.sh kdelibs.spec
11 # See also: SPECS/repackage.sh
17 # if no spec name passed, glob *.spec
19 if [ ! -f "$1" -o $# -gt 1 ]; then
20 echo >&2 "ERROR: Too many or too few .spec files found"
21 echo >&2 "Usage: ${0##*/} PACKAGE.spec"
25 exec $dir/builder --no-md5 -ncs -nn --short-circuit -bc "$@"