rpms/hunspell-mr/F-11 hunspell-mr.spec,1.2,1.3

Parag Nemade pnemade at fedoraproject.org
Thu May 14 10:59:12 UTC 2009


Author: pnemade

Update of /cvs/pkgs/rpms/hunspell-mr/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5527

Modified Files:
	hunspell-mr.spec 
Log Message:

* Thu May 14 2009 Parag <pnemade at redhat.com> - 20060920-3
- Fix wordlist encoding issue




Index: hunspell-mr.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-mr/F-11/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	14 May 2009 10:58:41 -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,6 +18,13 @@ 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
@@ -33,6 +40,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/myspell/*
 
 %changelog
+* Thu May 14 2009 Parag <pnemade at redhat.com> - 20060920-3
+- Fix worlist encoding issue
+
 * 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