SPECS: builder - add -np / --nopatch
aredridel
aredridel at pld-linux.org
Wed Oct 26 01:52:49 CEST 2005
Author: aredridel Date: Tue Oct 25 23:52:49 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add -np / --nopatch
---- Files affected:
SPECS:
builder (1.341 -> 1.342)
---- Diffs:
================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.341 SPECS/builder:1.342
--- SPECS/builder:1.341 Wed Oct 26 00:26:58 2005
+++ SPECS/builder Wed Oct 26 01:52:43 2005
@@ -270,6 +270,8 @@
-U, --update - refetch sources, don't use distfiles, and update md5 comments
-Upi, --update-poldek-indexes
- refresh or make poldek package index files.
+-np, --nopatch <patchnumber>
+ - don't apply patches
--with/--without <feature>
- conditional build package depending on %_with_<feature>/
%_without_<feature> macro switch. You may now use
@@ -1536,6 +1538,8 @@
shift;;
--opts )
shift; RPMOPTS="$RPM_OPTS ${1}"; shift ;;
+ --nopatch | -np )
+ shift; RPMOPTS="${RPMOPTS} --define \"patch${1} echo ignoring patch${1} \""; shift ;;
--with | --without )
case $GROUP_BCONDS in
"yes")
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/builder?r1=1.341&r2=1.342&f=u
More information about the pld-cvs-commit
mailing list