rpms/hunspell-de/devel hunspell-de.spec,1.10,1.11

Caolan McNamara caolanm at fedoraproject.org
Sat Jul 11 14:17:20 UTC 2009


Author: caolanm

Update of /cvs/pkgs/rpms/hunspell-de/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25750

Modified Files:
	hunspell-de.spec 
Log Message:
tidy spec


Index: hunspell-de.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-de/devel/hunspell-de.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- hunspell-de.spec	23 Apr 2009 11:14:55 -0000	1.10
+++ hunspell-de.spec	11 Jul 2009 14:16:50 -0000	1.11
@@ -2,7 +2,7 @@ Name: hunspell-de
 Summary: German hunspell dictionaries
 %define upstreamid 20090107
 Version: 0.%{upstreamid}
-Release: 2%{?dist}
+Release: 3%{?dist}
 Source: http://www.j3e.de/ispell/igerman98/dict/igerman98-%{upstreamid}.tar.bz2
 Group: Applications/Text
 URL: http://www.j3e.de/ispell/igerman98
@@ -27,8 +27,14 @@ make hunspell/de_AT.dic hunspell/de_AT.a
      hunspell/de_DE.dic hunspell/de_DE.aff
 cd hunspell
 for i in README_*.txt; do
+  if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
     iconv -f ISO-8859-1 -t UTF-8 $i > $i.new
-    tr -d '\r' <$i.new > $i
+    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
@@ -59,6 +65,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/myspell/*
 
 %changelog
+* Sat Jul 11 2009 Caolan McNamara <caolanm at redhat.com> - 0.20090107-3
+- tidy spec
+
 * Thu Apr 23 2009 Caolan McNamara <caolanm at redhat.com> - 0.20090107-2
 - fix dictionaries
 




More information about the fedora-extras-commits mailing list