rpms/hunspell-wa/devel hunspell-wa.spec,1.2,1.3

Caolan McNamara caolanm at fedoraproject.org
Sat Jul 11 12:56:34 UTC 2009


Author: caolanm

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

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


Index: hunspell-wa.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-wa/devel/hunspell-wa.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- hunspell-wa.spec	25 Feb 2009 05:50:34 -0000	1.2
+++ hunspell-wa.spec	11 Jul 2009 12:56:34 -0000	1.3
@@ -1,7 +1,7 @@
 Name: hunspell-wa
 Summary: Walloon hunspell dictionaries
 Version: 0.4.15
-Release: 2%{?dist}
+Release: 3%{?dist}
 Source0: http://chanae.walon.org/walon/aspell-wa-%{version}.tar.bz2
 Group: Applications/Text
 URL: http://chanae.walon.org/walon/aspell.php
@@ -22,8 +22,14 @@ Walloon hunspell dictionaries.
 %build
 make myspell
 for i in TODO README; 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
@@ -41,6 +47,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/myspell/*
 
 %changelog
+* Sat Jul 11 2009 Caolan McNamara <caolanm at redhat.com> - 0.4.15-3
+- tidy spec
+
 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.15-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list