From 9f939fe6d56691256326e568b986b6c51d11aebd Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Sat, 11 Jul 2009 15:18:57 +0000 Subject: [PATCH] tidy spec --- hunspell-no.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/hunspell-no.spec b/hunspell-no.spec index 2943953..0fef059 100644 --- a/hunspell-no.spec +++ b/hunspell-no.spec @@ -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 - 2.0.10-4 +- tidy spec + * Tue Feb 24 2009 Fedora Release Engineering - 2.0.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild