rpms/hunspell-bg/devel hunspell-bg.spec,1.6,1.7
Caolan McNamara
caolanm at fedoraproject.org
Fri Jul 10 15:52:36 UTC 2009
Author: caolanm
Update of /cvs/pkgs/rpms/hunspell-bg/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6915
Modified Files:
hunspell-bg.spec
Log Message:
clean spec
Index: hunspell-bg.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-bg/devel/hunspell-bg.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- hunspell-bg.spec 25 Feb 2009 04:28:21 -0000 1.6
+++ hunspell-bg.spec 10 Jul 2009 15:52:35 -0000 1.7
@@ -1,7 +1,7 @@
Name: hunspell-bg
Summary: Bulgarian hunspell dictionaries
Version: 4.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Source: http://downloads.sourceforge.net/bgoffice/OOo-spell-bg-%{version}.zip
Group: Applications/Text
URL: http://bgoffice.sourceforge.net/
@@ -18,10 +18,17 @@ Bulgarian hunspell dictionaries.
%setup -q -n OOo-spell-bg-%{version}
%build
-tr -d '\r' < README > README.new
-iconv -f ISO-8859-2 -t UTF-8 README.new > README
-tr -d '\r' < COPYING > COPYING.new
-mv COPYING.new COPYING
+for i in README COPYING; do
+ if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
+ iconv -f ISO-8859-2 -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
+
iconv -f WINDOWS-1251 -t UTF-8 bg_BG.dic > bg_BG.dic.new
mv -f bg_BG.dic.new bg_BG.dic
echo "SET UTF-8" > bg_BG.aff.new
@@ -42,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/myspell/*
%changelog
+* Fri Jul 10 2009 Caolan McNamara <caolanm at redhat.com> - 4.1-4
+- clean up spec
+
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
More information about the fedora-extras-commits
mailing list