SPECS: man-pages.spec - this is sooo ugly, but having VERSION_CONT...

glen glen at pld-linux.org
Fri Aug 4 01:17:55 CEST 2006


Author: glen                         Date: Thu Aug  3 23:17:55 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- this is sooo ugly, but having VERSION_CONTROL=t creates backups as *~ from patching

---- Files affected:
SPECS:
   man-pages.spec (1.198 -> 1.199) 

---- Diffs:

================================================================
Index: SPECS/man-pages.spec
diff -u SPECS/man-pages.spec:1.198 SPECS/man-pages.spec:1.199
--- SPECS/man-pages.spec:1.198	Sun Apr  9 00:03:52 2006
+++ SPECS/man-pages.spec	Fri Aug  4 01:17:50 2006
@@ -339,11 +339,12 @@
 mv -f man-pages-tr-%{tr_version}/tr tr
 mv -f man-pages-uk_UA.alfa uk
 mv -f man-pages-zh_CN-%{zh_version}/src zh_CN
-find zh_CN -name CVS -o -name '*.orig' | xargs rm -rf
+find zh_CN -name CVS -o -name '*.orig' -o -name '*~' | xargs rm -rf
 # would go in big5 or gb18030, but not gb2312
 rm -f zh_CN/man1/perltw.1
 # would go in gb18030, but not gb2312
 rm -f zh_CN/man8/{chat,printcap}.8
+
 # these man-pages are in UTF-8
 for f in zh_CN/man?/* ; do
 	iconv -f UTF8 -t GB2312 $f > ${f}.tmp
@@ -383,6 +384,9 @@
 bzip2 -dc %{SOURCE50} | tar xf -
 %patch3 -p0
 
+# patching creates backups
+find . '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -rf
+
 # cleanup
 rm -f man1/COPYING
 rm -f man*/README*
@@ -500,6 +504,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.199  2006/08/03 23:17:50  glen
+- this is sooo ugly, but having VERSION_CONTROL=t creates backups as *~ from patching
+
 Revision 1.198  2006/04/08 22:03:52  arekm
 - up to 2.29
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/man-pages.spec?r1=1.198&r2=1.199&f=u



More information about the pld-cvs-commit mailing list