From 44a3067f7c4745e1b9fbe5949943ff48e39b5006 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Mon, 8 Feb 2021 12:14:01 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/enchant2.git#e55ebba8377b0456ffccfc6a0929f858def1f0d8 --- enchant2.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/enchant2.spec b/enchant2.spec index 4687734..0b5f4e5 100644 --- a/enchant2.spec +++ b/enchant2.spec @@ -1,6 +1,6 @@ Name: enchant2 Version: 2.2.15 -Release: 3%{?snap}%{?dist} +Release: 4%{?snap}%{?dist} Summary: An Enchanting Spell Checking Library License: LGPLv2+ @@ -18,7 +18,9 @@ BuildRequires: glib2-devel BuildRequires: aspell-devel BuildRequires: hunspell-devel BuildRequires: libvoikko-devel +%if !0%{?rhel} BuildRequires: nuspell-devel >= 4.1.0 +%endif BuildRequires: make Provides: bundled(gnulib) @@ -35,6 +37,7 @@ Requires: enchant2%{?_isa} = %{version}-%{release} %description aspell Libraries necessary to integrate applications using libenchant with aspell. +%if !0%{?rhel} %package nuspell Summary: Integration with Nuspell for libenchant Requires: enchant2%{?_isa} = %{version}-%{release} @@ -42,6 +45,7 @@ Supplements: (enchant2 and nuspell) %description nuspell Libraries necessary to integrate applications using libenchant with Nuspell. +%endif %package voikko Summary: Integration with voikko for libenchant @@ -73,7 +77,9 @@ autoreconf -ifv %configure \ --with-aspell \ --with-hunspell-dir=%{_datadir}/myspell \ +%if !0%{?rhel} --with-nuspell \ +%endif --without-hspell \ --disable-static sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g; @@ -103,8 +109,10 @@ find %{buildroot} -name '*.la' -delete %files aspell %{_libdir}/enchant-2/enchant_aspell.so* +%if !0%{?rhel} %files nuspell %{_libdir}/enchant-2/enchant_nuspell.so* +%endif %files voikko %{_libdir}/enchant-2/enchant_voikko.so* @@ -116,6 +124,9 @@ find %{buildroot} -name '*.la' -delete %changelog +* Mon Feb 08 2021 Kalev Lember - 2.2.15-4 +- Disable nuspell support for RHEL (#1925839) + * Tue Feb 2 2021 Peter Oliver - 2.2.15-3 - Include support for Nuspell.