]> git.pld-linux.org Git - packages/rpm-build-tools.git/blobdiff - compile.sh
- proper empty diff check
[packages/rpm-build-tools.git] / compile.sh
index 59b915d211be8f65d61680c34d0a8972417db222..8fb28c099c3a7d710297383b31d73eae69462dda 100644 (file)
@@ -2,15 +2,15 @@
 # will build package, skipping %prep and %build stage
 # i use it a lot!
 #
+# Usage:
+# make only %build stage (i.e. after %prep has been done), for example after
+# modifying some sources for more complicated specs whose %build is not just
+# %{__make}:
+# SPECS$ ./compile.sh kdelibs.spec
+#
+# See also: SPECS/repackage.sh
+#
 # -glen 2005-03-03
 
-set -e
-
-rpmbuild() {
-       set -x
-       # i'd use ./builder to get all the ~/.bcondrc parsing,
-    # but builder doesn't understand -bi
-#      ./builder -ncs -nc -nn --opts --short-circuit "$@"
-       command rpmbuild --short-circuit "$@" || exit
-}
-rpmbuild -bc "$@"
+set -x
+exec ./builder --no-md5 -ncs -nn --short-circuit -bc "$@"
This page took 0.027002 seconds and 4 git commands to generate.