rpms/hunspell-sw/devel hunspell-sw.spec,1.2,1.3
Caolan McNamara
caolanm at fedoraproject.org
Sat Jul 11 16:12:48 UTC 2009
- Previous message (by thread): rpms/firebird/F-11 firebird-fix-initscript.patch, 1.1, 1.2 firebird.spec, 1.2, 1.3 firebird-profile.csh, 1.1, NONE firebird-profile.sh, 1.1, NONE
- Next message (by thread): rpms/fio/devel .cvsignore,1.8,1.9 fio.spec,1.8,1.9 sources,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: caolanm
Update of /cvs/pkgs/rpms/hunspell-sw/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24258
Modified Files:
hunspell-sw.spec
Log Message:
tidy spec
Index: hunspell-sw.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-sw/devel/hunspell-sw.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- hunspell-sw.spec 25 Feb 2009 05:36:08 -0000 1.2
+++ hunspell-sw.spec 11 Jul 2009 16:12:18 -0000 1.3
@@ -2,7 +2,7 @@ Name: hunspell-sw
Summary: Swahili hunspell dictionaries
%define upstreamid 20050819
Version: 0.%{upstreamid}
-Release: 2%{?dist}
+Release: 3%{?dist}
Group: Applications/Text
Source: http://www.it46.se/downloads/openoffice/dictionary/dictionary_myspell_sw_TZ_1.1.tar.gz
URL: http://www.it46.se
@@ -20,8 +20,16 @@ Swahili hunspell dictionaries.
%setup -q -c
%build
-iconv -f ISO-8859-1 -t UTF-8 README_sw_TZ.txt > README_sw_TZ.txt.new
-mv -f README_sw_TZ.txt.new README_sw_TZ.txt
+for i in README_sw_TZ.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
rm -rf $RPM_BUILD_ROOT
@@ -44,6 +52,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/myspell/*
%changelog
+* Sat Jul 11 2009 Caolan McNamara <caolanm at redhat.com> - 0.20050819-3
+- tidy spec
+
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.20050819-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- Previous message (by thread): rpms/firebird/F-11 firebird-fix-initscript.patch, 1.1, 1.2 firebird.spec, 1.2, 1.3 firebird-profile.csh, 1.1, NONE firebird-profile.sh, 1.1, NONE
- Next message (by thread): rpms/fio/devel .cvsignore,1.8,1.9 fio.spec,1.8,1.9 sources,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list