]>
Commit | Line | Data |
---|---|---|
b6b35b6b ER |
1 | #!/bin/sh |
2 | # will build package, skipping %prep and %build stage | |
3 | # i use it a lot! | |
4 | # | |
5 | # -glen 2005-03-03 | |
6 | ||
7 | set -e | |
8 | ||
9 | rpmbuild() { | |
10 | set -x | |
11 | # i'd use ./builder to get all the ~/.bcondrc parsing, | |
12 | # but builder doesn't understand -bi | |
13 | # ./builder -ncs -nc -nn --opts --short-circuit "$@" | |
14 | command rpmbuild --short-circuit "$@" || exit | |
15 | } | |
16 | rpmbuild -bc "$@" |