rpms/hunspell-no/devel hunspell-no.spec,1.4,1.5

Caolan McNamara caolanm at fedoraproject.org
Sat Jul 11 15:19:27 UTC 2009


Author: caolanm

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

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


Index: hunspell-no.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-no/devel/hunspell-no.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- hunspell-no.spec	25 Feb 2009 05:15:23 -0000	1.4
+++ hunspell-no.spec	11 Jul 2009 15:18:57 -0000	1.5
@@ -1,7 +1,7 @@
 Name: hunspell-no
 Summary: Norwegian hunspell dictionaries
 Version: 2.0.10
-Release: 3%{?dist}
+Release: 4%{?dist}
 Source: http://alioth.debian.org/frs/download.php/2357/no_NO-pack2-%{version}.zip
 Group: Applications/Text
 URL: http://spell-norwegian.alioth.debian.org
@@ -70,8 +70,14 @@ unzip -q th_nb_NO_v2.zip
 unzip -q th_nn_NO_v2.zip
 for i in README_nb_NO.txt README_nn_NO.txt README_hyph_nb_NO.txt \
   README_hyph_nn_NO.txt README_th_nb_NO_v2.txt README_th_nn_NO_v2.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
+    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
@@ -119,6 +125,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/mythes/th_nn_NO_v2.*
 
 %changelog
+* Sat Jul 11 2009 Caolan McNamara <caolanm at redhat.com> - 2.0.10-4
+- tidy spec
+
 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.10-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list