Use C.UTF-8 locale

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-11-18 22:50:04 +01:00
parent 7d4fb10508
commit fa801857d3

View File

@ -1,7 +1,7 @@
Name: hunspell-ga Name: hunspell-ga
Summary: Irish hunspell dictionaries Summary: Irish hunspell dictionaries
Version: 5.0 Version: 5.0
Release: 2%{?dist} Release: 3%{?dist}
Source0: https://github.com/kscanne/gaelspell/releases/download/v%{version}/ispell-gaeilge-%{version}.tar.gz Source0: https://github.com/kscanne/gaelspell/releases/download/v%{version}/ispell-gaeilge-%{version}.tar.gz
Source1: myspell-header Source1: myspell-header
Source2: hunspell-header Source2: hunspell-header
@ -23,7 +23,7 @@ Irish hunspell dictionaries.
%build %build
make make
cat %{SOURCE1} %{SOURCE2} > header cat %{SOURCE1} %{SOURCE2} > header
export LANG=en_IE.UTF-8 export LANG=C.UTF-8
iconv -f utf-8 -t iso-8859-1 < gaeilge.aff > gaeilge.aff.iso-8859-1 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 ispellaff2myspell gaeilge.aff.iso-8859-1 --myheader header | sed -e "s/\"\"/0/g" | sed -e "s/\"//g" > ga_IE.aff
@ -38,6 +38,10 @@ cp -p ga_IE.dic ga_IE.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%{_datadir}/myspell/* %{_datadir}/myspell/*
%changelog %changelog
* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 5.0-3
- Use C.UTF-8 locale
See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-2 * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild