From 891571b1e235a56e2d3a65e08b0058ebe793994e Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Tue, 11 Apr 2023 13:29:21 -0700 Subject: [PATCH] Drop new(old) spellcheckers (#2180175) --- kf5-sonnet.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kf5-sonnet.spec b/kf5-sonnet.spec index 2cbfcae..492c74f 100644 --- a/kf5-sonnet.spec +++ b/kf5-sonnet.spec @@ -22,9 +22,11 @@ Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{v # filter plugin provides %global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$ +%if 0%{?fedora} BuildRequires: aspell-devel BuildRequires: hspell-devel BuildRequires: libvoikko-devel +%endif BuildRequires: extra-cmake-modules >= %{majmin} %if ! 0%{?bootstrap} BuildRequires: hunspell-devel @@ -102,9 +104,11 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||: %{_kf5_bindir}/parsetrigrams %{_kf5_bindir}/gentrigrams %{_kf5_qmldir}/org/kde/sonnet/ +%if 0%{?fedora} %{_kf5_plugindir}/sonnet/sonnet_aspell.so %{_kf5_plugindir}/sonnet/sonnet_hspell.so %{_kf5_plugindir}/sonnet/sonnet_voikko.so +%endif %ldconfig_scriptlets ui