tidy spec

This commit is contained in:
Caolan McNamara 2009-07-11 12:56:34 +00:00
parent e2d002a273
commit bac96a3d0f

View File

@ -1,7 +1,7 @@
Name: hunspell-wa Name: hunspell-wa
Summary: Walloon hunspell dictionaries Summary: Walloon hunspell dictionaries
Version: 0.4.15 Version: 0.4.15
Release: 2%{?dist} Release: 3%{?dist}
Source0: http://chanae.walon.org/walon/aspell-wa-%{version}.tar.bz2 Source0: http://chanae.walon.org/walon/aspell-wa-%{version}.tar.bz2
Group: Applications/Text Group: Applications/Text
URL: http://chanae.walon.org/walon/aspell.php URL: http://chanae.walon.org/walon/aspell.php
@ -22,8 +22,14 @@ Walloon hunspell dictionaries.
%build %build
make myspell make myspell
for i in TODO README; do for i in TODO README; 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 iconv -f ISO-8859-1 -t UTF-8 $i > $i.new
touch -r $i $i.new
mv -f $i.new $i mv -f $i.new $i
fi
tr -d '\r' < $i > $i.new
touch -r $i $i.new
mv -f $i.new $i
done done
%install %install
@ -41,6 +47,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/myspell/* %{_datadir}/myspell/*
%changelog %changelog
* Sat Jul 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.4.15-3
- tidy spec
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.15-2 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild