From 95f45c19b79a22000767a1b9fb71f66d691777cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 12 Aug 2013 13:40:25 +0100 Subject: [PATCH] Resolves: rhbz#959989 incompatible stripping characters and condition where your hero pretends to be able to read Nynorsk --- hunspell-no.spec | 12 +++++++++--- rhbz959989.badsfxrules.patch | 22 ++++++++++++++++++++++ 2 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 rhbz959989.badsfxrules.patch diff --git a/hunspell-no.spec b/hunspell-no.spec index 8e2d0ce..3179791 100644 --- a/hunspell-no.spec +++ b/hunspell-no.spec @@ -1,7 +1,7 @@ Name: hunspell-no Summary: Norwegian hunspell dictionaries Version: 2.1 -Release: 3%{?dist} +Release: 4%{?dist} Source: https://alioth.debian.org/frs/download.php/3764/no_NO-pack2-2.1.zip Group: Applications/Text URL: http://spell-norwegian.alioth.debian.org @@ -9,6 +9,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) License: GPL+ BuildArch: noarch +Patch1: rhbz959989.badsfxrules.patch + %description Norwegian hunspell dictionaries. @@ -62,14 +64,15 @@ Nynorsk thesaurus. %prep %setup -q -c - -%build unzip -q nb_NO.zip unzip -q nn_NO.zip unzip -q hyph_nb_NO.zip unzip -q hyph_nn_NO.zip unzip -q th_nb_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 \ 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 @@ -125,6 +128,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/mythes/th_nn_NO_v2.* %changelog +* Mon Aug 12 2013 Caolán McNamara - 2.1-4 +- Resolves: rhbz#959989 incompatible stripping characters and condition + * Sat Aug 03 2013 Fedora Release Engineering - 2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/rhbz959989.badsfxrules.patch b/rhbz959989.badsfxrules.patch new file mode 100644 index 0000000..e7e2d6b --- /dev/null +++ b/rhbz959989.badsfxrules.patch @@ -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