From 3fe2f430ff8548d5db8b103870c9092cb53c5ee2752711b28755a3bb63c370a1 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 16 Apr 2020 09:59:40 +0000 Subject: [PATCH] Accepting request 794534 from home:yfjiang:branches:GNOME:Factory - Enable aspell support on SLE to synchronize with Leap. OBS-URL: https://build.opensuse.org/request/show/794534 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/enchant?expand=0&rev=44 --- enchant.changes | 5 +++++ enchant.spec | 12 +----------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/enchant.changes b/enchant.changes index 7a5b9cf..cc59641 100644 --- a/enchant.changes +++ b/enchant.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 13 07:36:20 UTC 2020 - Yifan Jiang + +- Enable aspell support on SLE to synchronize with Leap. + ------------------------------------------------------------------- Mon Oct 21 01:11:27 UTC 2019 - Yifan Jiang diff --git a/enchant.spec b/enchant.spec index 24d4c6b..18eea44 100644 --- a/enchant.spec +++ b/enchant.spec @@ -1,7 +1,7 @@ # # spec file for package enchant # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,9 +25,7 @@ Group: Productivity/Text/Spell URL: https://abiword.github.io/enchant/ Source: https://github.com/AbiWord/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz Source1: baselibs.conf -%if 0%{?is_opensuse} BuildRequires: aspell-devel -%endif BuildRequires: dbus-1-glib-devel BuildRequires: gcc-c++ BuildRequires: glib2-devel @@ -60,7 +58,6 @@ with different spell checking libraries. This package provides data/configuration files for libenchant. -%if 0%{?is_opensuse} %package -n enchant-2-backend-aspell Summary: Aspell backend for the Enchant spell checking library Group: Productivity/Text/Spell @@ -71,7 +68,6 @@ Provides: enchant-2-backend Aspell plugin for enchant, a library providing an efficient extensible abstraction for dealing with different spell checking libraries. -%endif %package -n enchant-2-backend-hunspell Summary: Hunspell backend for the Enchant spell checking library @@ -123,12 +119,8 @@ to develop applications that require these. %build %configure \ -%if 0%{?is_opensuse} --disable-static \ --with-aspell -%else - --disable-static -%endif make %{?_smp_mflags} %install @@ -150,11 +142,9 @@ find %{buildroot} -type f -name "*.la" -delete -print %{_libdir}/*.so.* %dir %{_libdir}/enchant-2 -%if 0%{?is_opensuse} %files -n enchant-2-backend-aspell %dir %{_libdir}/enchant-2 %{_libdir}/enchant-2/enchant_aspell.so -%endif %files -n enchant-2-backend-hunspell %dir %{_libdir}/enchant-2