SPECS: builder - add --alt_kernel option for convience

glen glen at pld-linux.org
Thu Nov 22 00:38:57 CET 2007


Author: glen                         Date: Wed Nov 21 23:38:57 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add --alt_kernel option for convience

---- Files affected:
SPECS:
   builder (1.521 -> 1.522) 

---- Diffs:

================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.521 SPECS/builder:1.522
--- SPECS/builder:1.521	Tue Nov  6 15:46:51 2007
+++ SPECS/builder	Thu Nov 22 00:38:52 2007
@@ -1,5 +1,5 @@
 #!/bin/ksh
-# 
+#
 # This program is free software, distributed under the terms of
 # the GNU General Public License Version 2.
 #
@@ -247,6 +247,8 @@
                     - setup \$CVSROOT,
 --define <macro> <value>
                     - define a macro <macro> with value <value>,
+--alt_kernel <kernel>
+                    - same as --define 'alt_kernel <kernel>'
 --nodeps            - rpm won't check any dependences
 -g, --get           - get <package>.spec and all related files from CVS repo
                       or HTTP/FTP,
@@ -1923,7 +1925,7 @@
 		-c | --clean )
 			CLEAN="--clean --rmspec --rmsource"; shift ;;
 		-cf | --cvs-force )
-			CVS_FORCE="-F -B"; shift;;
+			CVS_FORCE="-F"; shift;;
 		-d | --cvsroot )
 			shift; CVSROOT="${1}"; shift ;;
 		-g | --get )
@@ -2097,6 +2099,11 @@
 				RPMOPTS="${RPMOPTS} --define \"${MACRO} ${VALUE}\""
 			fi
 			;;
+		--alt_kernel)
+			shift
+			RPMOPTS="${RPMOPTS} --define \"alt_kernel $1\""
+			shift
+			;;
 		--short-circuit)
 			RPMBUILDOPTS="${RPMBUILDOPTS} --short-circuit"
 			shift
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/builder?r1=1.521&r2=1.522&f=u



More information about the pld-cvs-commit mailing list