Bug 967637
| Summary: | ga_IE.aff is empty but ga_IE.dic contains affix rules | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mike FABIAN <mfabian> |
| Component: | hunspell-ga | Assignee: | Caolan McNamara <caolanm> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | caolanm, mfabian |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | hunspell-ga-4.6-6.fc19 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-06-06 02:24:44 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Mike FABIAN
2013-05-27 17:54:38 UTC
hunspell-ga-4.6-5.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/hunspell-ga-4.6-5.fc19 hunspell-ga-4.6-5.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/hunspell-ga-4.6-5.fc18 After that update, the file is not empty anymore, but the encoding of the ga_IE.aff file is broken: mfabian@ari:/usr/share/myspell $ file ga_IE.aff ga_IE.aff: Non-ISO extended-ASCII text mfabian@ari:/usr/share/myspell $ It contains lines like: PFX S s sh s[aeiouãããããlnr] Which should be: PFX S s sh s[aeiouáéíóúlnr] The conversion tool ispellaff2myspell used in hunspell-ga.spec
apparently needs iso-8859-1 input but the input file gaeilge.aff is
UTF-8 encoded.
Fix:
mfabian@ari:~/rpmsources/fedora/hunspell-ga (master *)
$ git diff
diff --git a/hunspell-ga.spec b/hunspell-ga.spec
index 2a65877..979b5d9 100644
--- a/hunspell-ga.spec
+++ b/hunspell-ga.spec
@@ -26,7 +26,8 @@ Irish hunspell dictionaries.
make
cat %{SOURCE1} %{SOURCE2} > header
export LANG=en_IE.UTF-8
-ispellaff2myspell gaeilge.aff --myheader header | sed -e "s/\"\"/0/g" | sed -e "s/\"//g" > ga_IE.aff
+iconv -f utf-8 -t iso-8859-1 < gaeilge.aff > gaeilge.aff.iso-8859-1
+ispellaff2myspell gaeilge.aff.iso-8859-1 --myheader header | sed -e "s/\"\"/0/g" | sed -e "s/\"//g" > ga_IE.aff
%install
rm -rf $RPM_BUILD_ROOT
hunspell-ga-4.6-6.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/hunspell-ga-4.6-6.fc19 hunspell-ga-4.6-6.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/hunspell-ga-4.6-6.fc18 k, that should do it then Package hunspell-ga-4.6-5.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing hunspell-ga-4.6-5.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-9472/hunspell-ga-4.6-5.fc19 then log in and leave karma (feedback). Package hunspell-ga-4.6-6.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing hunspell-ga-4.6-6.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-9473/hunspell-ga-4.6-6.fc19 then log in and leave karma (feedback). hunspell-ga-4.6-6.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |