rpms/hunspell-tet/devel hunspell-tet.spec,1.3,1.4
Caolan McNamara
caolanm at fedoraproject.org
Sat Jul 11 16:21:59 UTC 2009
Author: caolanm
Update of /cvs/pkgs/rpms/hunspell-tet/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26700
Modified Files:
hunspell-tet.spec
Log Message:
tidy spec
Index: hunspell-tet.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-tet/devel/hunspell-tet.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- hunspell-tet.spec 25 Feb 2009 05:39:09 -0000 1.3
+++ hunspell-tet.spec 11 Jul 2009 16:21:29 -0000 1.4
@@ -2,7 +2,7 @@ Name: hunspell-tet
Summary: Tetum hunspell dictionaries
%define upstreamid 20050108
Version: 0.%{upstreamid}
-Release: 3%{?dist}
+Release: 4%{?dist}
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/tet_ID.zip
Group: Applications/Text
URL: http://borel.slu.edu/crubadan/apps.html
@@ -19,8 +19,16 @@ Tetum hunspell dictionaries.
%setup -q -c
%build
-iconv -f ISO-8859-1 -t UTF-8 README_tet_ID.txt > README_tet_ID.txt.new
-mv -f README_tet_ID.txt.new README_tet_ID.txt
+for i in README_tet_ID.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> - 0.20050108-4
+- tidy spec
+
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.20050108-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
More information about the fedora-extras-commits
mailing list