From dab28ba4634c2490cb0b1d94d280da5ce4db42a7 Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Sat, 11 Jul 2009 16:09:21 +0000 Subject: [PATCH] tidy spec --- hunspell-fj.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/hunspell-fj.spec b/hunspell-fj.spec index add17ec..bd4e50f 100644 --- a/hunspell-fj.spec +++ b/hunspell-fj.spec @@ -2,7 +2,7 @@ Name: hunspell-fj Summary: Fijian hunspell dictionaries %define upstreamid 20050811 Version: 0.%{upstreamid} -Release: 2%{?dist} +Release: 3%{?dist} Group: Applications/Text Source0: http://www.iosn.net/pacific-islands/usp-microgrants/fijian-spellchecker/README_fj_FJ.txt Source1: http://www.iosn.net/pacific-islands/usp-microgrants/fijian-spellchecker/fj_FJ.dic @@ -23,8 +23,11 @@ Fijian hunspell dictionaries. cp -p %{SOURCE0} %{SOURCE1} %{SOURCE2} . %build -tr -d '\r' < README_fj_FJ.txt > README_fj_FJ.txt.new -mv -f README_fj_FJ.txt.new README_fj_FJ.txt +for i in README_fj_FJ.txt; do + tr -d '\r' < $i > $i.new + touch -r $i $i.new + mv -f $i.new $i +done %install rm -rf $RPM_BUILD_ROOT @@ -40,6 +43,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/myspell/* %changelog +* Sat Jul 11 2009 Caolan McNamara - 0.20050811-3 +- tidy spec + * Tue Feb 24 2009 Fedora Release Engineering - 0.20050811-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild