From 113f088f266d3c02011e3a44caa03601c1d23ece Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Sun, 10 Jan 2010 14:03:25 +0000 Subject: [PATCH] fix up --- hunspell-pt.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hunspell-pt.spec b/hunspell-pt.spec index 5b52c7b..456e2e1 100644 --- a/hunspell-pt.spec +++ b/hunspell-pt.spec @@ -1,8 +1,8 @@ Name: hunspell-pt Summary: Portuguese hunspell dictionaries -%define upstreamid 20091013 +%define upstreamid 20100109 Version: 0.%{upstreamid} -Release: 2%{?dist} +Release: 1%{?dist} Source0: http://natura.di.uminho.pt/download/sources/Dictionaries/hunspell/hunspell-pt_PT-20091013.tar.gz Source1: http://www.broffice.org/files/pt_BR-2010-01-09AOC.zip Group: Applications/Text @@ -19,7 +19,7 @@ Portuguese hunspell dictionaries. %prep %setup -q -n hunspell-pt_PT-20091013 unzip -q -o %{SOURCE1} -for i in README_pt_BR-OOO2x.TXT README_pt_PT.txt; do +for i in README_pt_BR.TXT README_pt_PT.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 @@ -42,7 +42,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc README_pt_BR-OOO2x.TXT README_pt_PT.txt COPYING +%doc README_pt_BR.TXT README_pt_PT.txt COPYING %{_datadir}/myspell/* %changelog