packages: builder - --clean does not remove spec and sources, use --mr-prop...

glen glen at pld-linux.org
Wed Feb 3 13:25:42 CET 2010


Author: glen                         Date: Wed Feb  3 12:25:42 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- --clean does not remove spec and sources, use --mr-proper/-m for that

---- Files affected:
packages:
   builder (1.602 -> 1.603) 

---- Diffs:

================================================================
Index: packages/builder
diff -u packages/builder:1.602 packages/builder:1.603
--- packages/builder:1.602	Mon Dec 28 12:21:44 2009
+++ packages/builder	Wed Feb  3 13:25:36 2010
@@ -265,8 +265,8 @@
                       them into src.rpm,
 --short-circuit     - short-circuit build
 -B, --branch        - add branch
--c, --clean         - clean all temporarily created files (in BUILD, SOURCES,
-                      SPECS and \$RPM_BUILD_ROOT and CVS/Entries) after rpmbuild commands.
+-c, --clean         - clean all temporarily created files (in BUILD\$RPM_BUILD_ROOT) after rpmbuild commands.
+                      may be used with building process.
 -m, --mr-proper     - clean all temporarily created files (in BUILD, SOURCES,
 					  SPECS and \$RPM_BUILD_ROOT and CVS/Entries). Doesn't run
 					  any rpm building.
@@ -704,7 +704,7 @@
 
 			# create symlinks for tools
 			if [ "$SYMLINK_TOOLS" != "no" ]; then
-				for a in dropin md5 adapter builder {relup,compile,repackage,rsync}.sh; do
+				for a in dropin md5 adapter builder {relup,compile,repackage,rsync,pearize}.sh; do
 					[ -f $a ] || continue
 					ln -s ../$a $ASSUMED_NAME
 					cvsignore_df $a
@@ -2009,7 +2009,7 @@
 		-B | --branch )
 			COMMAND="branch"; shift; TAG="${1}"; shift;;
 		-c | --clean )
-			CLEAN="--clean --rmspec --rmsource"; shift ;;
+			CLEAN="--clean"; shift ;;
 		-cf | --cvs-force )
 			CVS_FORCE="-F"; shift;;
 		-d | --cvsroot )
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/builder?r1=1.602&r2=1.603&f=u



More information about the pld-cvs-commit mailing list