From 4d4bd327afa1872d9058d8d19aa44424fd26fdcc Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Sat, 11 Jul 2009 12:48:10 +0000 Subject: [PATCH] tidy spec --- hunspell-hil.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/hunspell-hil.spec b/hunspell-hil.spec index 528d233..ebe04d4 100644 --- a/hunspell-hil.spec +++ b/hunspell-hil.spec @@ -2,7 +2,7 @@ Name: hunspell-hil Summary: Hiligaynon hunspell dictionaries %define upstreamid 20050406 Version: 0.%{upstreamid} -Release: 2%{?dist} +Release: 3%{?dist} Group: Applications/Text Source: http://ftp.gnu.org/gnu/aspell/dict/hil/aspell5-hil-0.11-0.tar.bz2 URL: http://borel.slu.edu/crubadan/apps.html @@ -25,8 +25,14 @@ preunzip -d *.cwl cat *.wl > hiligaynon.wordlist wordlist2hunspell hiligaynon.wordlist hil_PH for i in Copyright doc/Crawler.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 @@ -43,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/myspell/* %changelog +* Sat Jul 11 2009 Caolan McNamara - 0.20050406-3 +- tidy spec + * Tue Feb 24 2009 Fedora Release Engineering - 0.20050406-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild