diff --git a/enchant.changes b/enchant.changes index 2efe359..15db34c 100644 --- a/enchant.changes +++ b/enchant.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue May 29 12:49:28 UTC 2018 - badshah400@gmail.com + +- Fix installation of backends (bgo#1089433): + + Drop Supplements entirely. + + For the shared lib package, add conditional Requires on + either/both the hunspell or voikko backends depending on + whether the system has libhunspell and/or libvoikko installed. + + Add a Suggests on -backend-hunspell for the case where neither + libvoikko not libhunspell are installed. + ------------------------------------------------------------------- Sat Mar 10 09:04:52 UTC 2018 - jengelh@inai.de diff --git a/enchant.spec b/enchant.spec index 940d070..6dd6842 100644 --- a/enchant.spec +++ b/enchant.spec @@ -60,7 +60,6 @@ This package provides data/configuration files for libenchant. %package -n enchant-2-backend-hunspell Summary: Hunspell backend for the Enchant spell checking library Group: Productivity/Text/Spell -Supplements: packageand(libenchant-2-2:%(rpm -q --qf "%%{name}" -f $(readlink -f %{_libdir}/libhunspell.so)) Provides: enchant-2-backend %description -n enchant-2-backend-hunspell @@ -71,7 +70,6 @@ libraries. %package -n enchant-2-backend-voikko Summary: Voikko backend for the Enchant spell checking library Group: Productivity/Text/Spell -Supplements: packageand(libenchant-2-2:%(rpm -q --qf "%%{name}" -f $(readlink -f %{_libdir}%{_libdir}/libvoikko.so)) Provides: enchant-2-backend Provides: locale(libenchant-2-2:fi) @@ -85,6 +83,9 @@ Summary: Generic Spell Checking Library Group: System/Libraries Requires: enchant-2-backend Requires: enchant-data >= %{version} +Requires: (enchant-2-backend-hunspell if %(rpm -q --qf "%%{name}" -f $(readlink -f %{_libdir}/libhunspell.so))) +Requires: (enchant-2-backend-voikko if %(rpm -q --qf "%%{name}" -f $(readlink -f %{_libdir}/libvoikko.so))) +Suggests: enchant-2-backend-hunspell %description -n libenchant-2-2 A library providing an efficient extensible abstraction for dealing