Fedora Account System
Red Hat Associate
Red Hat Customer
**Description of problem:** The `hunspell-fr` package ships every regional French variant in a single unit, with no per-region subpackages. A user who writes French (France) and wants exactly one French entry in their spellcheck menu has no package-level way to get it: installing `hunspell-fr` necessarily drags in fr_BE, fr_CA, fr_CH, fr_LU and fr_MC as well. The unwanted variants are then enumerated by every spellcheck consumer, so apps list six French dictionaries where one is wanted. **Version-Release number of selected component (if applicable):** hunspell-fr-7.0-2.fc44 (observed on Fedora 44; the same layout exists in the F45/Rawhide builds per packages.fedoraproject.org) **How reproducible:** Always, by construction of the package. **Steps to Reproduce:** 1. `dnf install hunspell-fr` 2. `dnf repoquery -l hunspell-fr | grep /usr/share/hunspell` ``` /usr/share/hunspell/fr_BE.aff /usr/share/hunspell/fr_BE.dic /usr/share/hunspell/fr_CA.aff /usr/share/hunspell/fr_CA.dic /usr/share/hunspell/fr_CH.aff /usr/share/hunspell/fr_CH.dic /usr/share/hunspell/fr_FR.aff /usr/share/hunspell/fr_FR.dic /usr/share/hunspell/fr_LU.aff /usr/share/hunspell/fr_LU.dic /usr/share/hunspell/fr_MC.aff /usr/share/hunspell/fr_MC.dic ``` 3. Open GNOME Text Editor (F44), right-click in a document and open the language chooser (libspelling → enchant2 → hunspell): all six French variants are listed. **Actual results:** Six regional French dictionaries installed and enumerated; no package-level way to keep only fr_FR. **Expected results:** A base package carrying fr_FR plus `hunspell-fr-CA`, `-CH`, `-BE`, `-LU`, `-MC` subpackages for the other variants, so users can install exactly what they need, as already exists for English (`hunspell-en-US`, `-GB`, `-AU`, `-CA`, each removable independently) and Spanish (`hunspell-es-ES`, `-MX`, `-AR` and about twenty others). **Additional info:** - Precedent elsewhere: Debian and Ubuntu already split French this way (`hunspell-fr` splits into `hunspell-fr-classique`, `hunspell-fr-moderne`, `hunspell-fr-reforme1990`, `hunspell-fr-toutesvariantes` and per-region packages), so per-region dictionaries exist upstream and this is purely a packaging change. - Current user workarounds are unsatisfactory: deleting RPM-owned files breaks `dnf verify`; copying the wanted variant to `/usr/local/share/hunspell/` and removing the package (verified end-to-end on F44, since enchant scans `/usr/local` too) works but freezes the dictionary outside the update pipeline. - One constraint worth preserving in any split: the base `hunspell` package hard-requires `hunspell-en-US`, and that dependency chain (`gnome-shell` → `webkitgtk6.0` → `enchant2` → `hunspell` → `hunspell-en-US`) is what guarantees desktop installs keep a usable English dictionary; dnf refuses removal of `hunspell-en-US` citing gnome-shell as a protected package. A split `hunspell-fr` should keep its main variant as a hard dependency of the base package, mirroring that guarantee. - Companion request for the German package: [2574116](https://bugzilla.redhat.com/show_bug.cgi?id=2574116). - Discussion threads documenting the user impact: "Unwanted Spellchecker Dictionary English Variants in Thunderbird e-mail editor" (discussion.fedoraproject.org/t/85107) and "Could someone stop adding these additional language symlinks to /usr/share/hunspell/?" on Ask Fedora.