SPECS: template.spec - cleanup backups

glen glen at pld-linux.org
Tue May 30 21:23:45 CEST 2006


Author: glen                         Date: Tue May 30 19:23:45 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- cleanup backups

---- Files affected:
SPECS:
   template.spec (1.59 -> 1.60) 

---- Diffs:

================================================================
Index: SPECS/template.spec
diff -u SPECS/template.spec:1.59 SPECS/template.spec:1.60
--- SPECS/template.spec:1.59	Sat Mar  4 23:52:54 2006
+++ SPECS/template.spec	Tue May 30 21:23:39 2006
@@ -99,6 +99,10 @@
 # remove CVS control files
 #find -name CVS -print0 | xargs -0 rm -rf
 
+# you'll need this if you cp -a complete dir in source
+# cleanup backups after patching
+find . '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
+
 %build
 # if ac/am/* rebuilding is necessary, do it in this order and add
 # appropriate BuildRequires
@@ -187,6 +191,6 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.59  2006/03/04 22:52:54  glen
-- adapterized, truncate changelog
+Revision 1.60  2006/05/30 19:23:39  glen
+- cleanup backups
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/template.spec?r1=1.59&r2=1.60&f=u



More information about the pld-cvs-commit mailing list