rpms/hunspell-mr/devel hunspell-mr.spec,1.2,1.3

Caolan McNamara caolanm at fedoraproject.org
Sun Jun 28 16:28:37 UTC 2009


Author: caolanm

Update of /cvs/pkgs/rpms/hunspell-mr/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12332

Modified Files:
	hunspell-mr.spec 
Log Message:
bring wordlist encoding issue fix from F-11 into devel


Index: hunspell-mr.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-mr/devel/hunspell-mr.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- hunspell-mr.spec	25 Feb 2009 05:09:55 -0000	1.2
+++ hunspell-mr.spec	28 Jun 2009 16:28:07 -0000	1.3
@@ -1,7 +1,7 @@
 Name: hunspell-mr
 Summary: Marathi hunspell dictionaries
 Version: 20060920 
-Release: 2%{?dist}
+Release: 3%{?dist}
 Source: http://ftp.stardiv.de/pub/OpenOffice.org/contrib/dictionaries/mr_IN.zip
 Group: Applications/Text
 URL: http://wiki.services.openoffice.org/wiki/Dictionaries
@@ -18,11 +18,18 @@ Marathi hunspell dictionaries.
 %setup -q -c -n mr-IN
 
 %build
+#line 5812 is not correctly encoded, so lets cut it out
+#skip the line count line and grab up to the bad line
+head -n 5811 mr_IN.dic | tail -n 5810 > fixed_mr_IN.dic
+tail -n +5813 mr_IN.dic >> fixed_mr_IN.dic
+#fix line count
+cat fixed_mr_IN.dic | wc -l > mr_IN.dic
+cat fixed_mr_IN.dic >> mr_IN.dic
 
 %install
 rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
-cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
+cp -p mr_IN.dic mr_IN.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -33,6 +40,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/myspell/*
 
 %changelog
+* Sun Jun 28 2009 Caolán McNamara <caolanm at redhat.com> - 20060920-3
+- bring wordlist encoding issue fix from F-11 into devel
+
 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 20060920-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list