SPECS: alienarena2007.spec - dos2unix

wolvverine wolvverine at pld-linux.org
Tue Sep 11 00:28:40 CEST 2007


Author: wolvverine                   Date: Mon Sep 10 22:28:40 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- dos2unix

---- Files affected:
SPECS:
   alienarena2007.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/alienarena2007.spec
diff -u SPECS/alienarena2007.spec:1.1 SPECS/alienarena2007.spec:1.2
--- SPECS/alienarena2007.spec:1.1	Mon Sep 10 23:49:59 2007
+++ SPECS/alienarena2007.spec	Tue Sep 11 00:28:35 2007
@@ -60,8 +60,9 @@
 %setup -q -n %{name}
 rm -f ../GH3D.txt ../GamersHell.url
 
-# undos the source
-find '(' -name '*.c' -o -name '*.h' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
+for file in lst cfg txt html lng h c ; do
+        find ./ -noleaf -type f -name \*.$file -exec dos2unix '{}' \;
+done
 
 %build
 %{__make} \
@@ -127,6 +128,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/09/10 22:28:35  wolvverine
+- dos2unix
+
 Revision 1.1  2007/09/10 21:49:59  wolvverine
 - init, NFY
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/alienarena2007.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list