rpms/mythes-pl/devel mythes-pl.spec,1.5,1.6

Caolan McNamara caolanm at fedoraproject.org
Tue Jul 14 12:28:16 UTC 2009


Author: caolanm

Update of /cvs/pkgs/rpms/mythes-pl/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19430

Modified Files:
	mythes-pl.spec 
Log Message:
for consistency


Index: mythes-pl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mythes-pl/devel/mythes-pl.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- mythes-pl.spec	10 Jul 2009 15:46:56 -0000	1.5
+++ mythes-pl.spec	14 Jul 2009 12:27:46 -0000	1.6
@@ -19,10 +19,13 @@ Polish thesaurus.
 %build
 for i in README_th_pl_PL_v2.txt; do
   if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
-    iconv -f ISO-8859-2 -t UTF-8 $i | tr -d '\r' > $i.new
+    iconv -f ISO-8859-2 -t UTF-8 $i > $i.new
     touch -r $i $i.new
     mv -f $i.new $i
   fi
+  tr -d '\r' < $i > $i.new
+  touch -r $i $i.new
+  mv -f $i.new $i
 done
 
 %install




More information about the fedora-extras-commits mailing list