Resolves: rhbz#959989 incompatible stripping characters and condition

where your hero pretends to be able to read Nynorsk
This commit is contained in:
Caolán McNamara 2013-08-12 13:40:25 +01:00
parent c37d2e1a5e
commit 95f45c19b7
2 changed files with 31 additions and 3 deletions

View File

@ -1,7 +1,7 @@
Name: hunspell-no Name: hunspell-no
Summary: Norwegian hunspell dictionaries Summary: Norwegian hunspell dictionaries
Version: 2.1 Version: 2.1
Release: 3%{?dist} Release: 4%{?dist}
Source: https://alioth.debian.org/frs/download.php/3764/no_NO-pack2-2.1.zip Source: https://alioth.debian.org/frs/download.php/3764/no_NO-pack2-2.1.zip
Group: Applications/Text Group: Applications/Text
URL: http://spell-norwegian.alioth.debian.org URL: http://spell-norwegian.alioth.debian.org
@ -9,6 +9,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPL+ License: GPL+
BuildArch: noarch BuildArch: noarch
Patch1: rhbz959989.badsfxrules.patch
%description %description
Norwegian hunspell dictionaries. Norwegian hunspell dictionaries.
@ -62,14 +64,15 @@ Nynorsk thesaurus.
%prep %prep
%setup -q -c %setup -q -c
%build
unzip -q nb_NO.zip unzip -q nb_NO.zip
unzip -q nn_NO.zip unzip -q nn_NO.zip
unzip -q hyph_nb_NO.zip unzip -q hyph_nb_NO.zip
unzip -q hyph_nn_NO.zip unzip -q hyph_nn_NO.zip
unzip -q th_nb_NO_v2.zip unzip -q th_nb_NO_v2.zip
unzip -q th_nn_NO_v2.zip unzip -q th_nn_NO_v2.zip
%patch1 -p0 -b .rhbz959989
%build
for i in README_nb_NO.txt README_nn_NO.txt README_hyph_nb_NO.txt \ for i in README_nb_NO.txt README_nn_NO.txt README_hyph_nb_NO.txt \
README_hyph_nn_NO.txt README_th_nb_NO_v2.txt README_th_nn_NO_v2.txt; do README_hyph_nn_NO.txt README_th_nb_NO_v2.txt README_th_nn_NO_v2.txt; do
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
@ -125,6 +128,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/mythes/th_nn_NO_v2.* %{_datadir}/mythes/th_nn_NO_v2.*
%changelog %changelog
* Mon Aug 12 2013 Caolán McNamara <caolanm@redhat.com> - 2.1-4
- Resolves: rhbz#959989 incompatible stripping characters and condition
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-3 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

View File

@ -0,0 +1,22 @@
--- nn_NO.aff 2012-09-30 13:23:33.000000000 +0100
+++ nn_NO.aff 2013-08-12 13:36:06.889272568 +0100
@@ -187,7 +187,7 @@
SFX D el lar [^s]sel
SFX D tel lar ttel
SFX D el lar [^t]tel
-SFX D ar rar [^fmk]er
+SFX D ar rar [^fmk]ar
SFX D er rar ker
SFX D 0 ar [^aeouø]m
SFX D 0 mar dlem
@@ -406,8 +406,8 @@
SFX U met ne met
SFX U ele al ele
SFX U ele ålet ele
-SFX U øre orde ere
-SFX U øre ort ere
+SFX U øre orde øre
+SFX U øre ort øre
SFX U egge agt egge
SFX U egge agte egge
SFX U um a um