rpms/hunspell-nl/devel hunspell-nl.spec,1.6,1.7
Caolan McNamara
caolanm at fedoraproject.org
Sat Jul 11 14:21:33 UTC 2009
Author: caolanm
Update of /cvs/pkgs/rpms/hunspell-nl/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26925
Modified Files:
hunspell-nl.spec
Log Message:
tidy spec
Index: hunspell-nl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-nl/devel/hunspell-nl.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- hunspell-nl.spec 12 Jun 2009 14:39:56 -0000 1.6
+++ hunspell-nl.spec 11 Jul 2009 14:21:02 -0000 1.7
@@ -1,7 +1,7 @@
Name: hunspell-nl
Summary: Dutch hunspell dictionaries
Version: 1.00g
-Release: 4%{?dist}
+Release: 5%{?dist}
Source: http://www.opentaal.org/bestanden/nl_NL-Pack
Group: Applications/Text
URL: http://www.opentaal.org/english.php
@@ -19,8 +19,16 @@ Dutch hunspell dictionaries.
%build
unzip -o nl_NL.zip
-tr -d '\r' < README_nl_NL.txt > README_nl_NL.txt.new
-mv -f README_nl_NL.txt.new README_nl_NL.txt
+for i in README_nl_NL.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
rm -rf $RPM_BUILD_ROOT
@@ -43,6 +51,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/myspell/*
%changelog
+* Sat Jul 11 2009 Caolan McNamara <caolanm at redhat.com> - 1.00g-5
+- retain timestamp
+
* Fri Jun 22 2009 Caolan McNamara <caolanm at redhat.com> - 1.00g-4
- extend coverage
More information about the fedora-extras-commits
mailing list