SPECS: compile.sh - some usage - skip cvs up just to fetch bcond args

glen glen at pld-linux.org
Tue Feb 13 19:39:12 CET 2007


Author: glen                         Date: Tue Feb 13 18:39:12 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- some usage
- skip cvs up just to fetch bcond args

---- Files affected:
SPECS:
   compile.sh (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/compile.sh
diff -u SPECS/compile.sh:1.4 SPECS/compile.sh:1.5
--- SPECS/compile.sh:1.4	Tue Nov 21 22:26:48 2006
+++ SPECS/compile.sh	Tue Feb 13 19:39:07 2007
@@ -2,6 +2,14 @@
 # will build package, skipping %prep and %build stage
 # i use it a lot!
 #
+# Usage:
+# do do only %build stage (ie after %prep has been done), for example after
+# modifying some sources for more complicated specs wholse %build is not just
+# %{__make}:
+# SPECS$ ./compile.sh kdelibs.spec
+#
+# See also: SPECS/repackage.sh
+#
 # -glen 2005-03-03
 
 set -e
@@ -19,6 +27,6 @@
 	TARGET="$tmp"
 fi
 
-BCONDS=$(./builder --show-bcond-args $specfile)
+BCONDS=$(./builder -nn -ncs --show-bcond-args $specfile)
 
 rpmbuild -bc "$@"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/compile.sh?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list