diff --git a/enchant.changes b/enchant.changes index 15db34c..dae95e5 100644 --- a/enchant.changes +++ b/enchant.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Jun 3 10:07:03 UTC 2018 - dleuenberger@suse.com + +- Revert parts of last change: Still using supplementes instead of + boolean rich deps: zypper dup from < CODE15 is impossible + otherwise. + ------------------------------------------------------------------- Tue May 29 12:49:28 UTC 2018 - badshah400@gmail.com diff --git a/enchant.spec b/enchant.spec index 6dd6842..0c91038 100644 --- a/enchant.spec +++ b/enchant.spec @@ -22,7 +22,7 @@ Release: 0 Summary: Generic Spell Checking Library License: LGPL-2.1-or-later Group: Productivity/Text/Spell -Url: https://abiword.github.io/enchant/ +URL: https://abiword.github.io/enchant/ Source: https://github.com/AbiWord/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz Source1: baselibs.conf BuildRequires: dbus-1-glib-devel @@ -60,6 +60,7 @@ 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 @@ -70,6 +71,7 @@ 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}/libvoikko.so)) Provides: enchant-2-backend Provides: locale(libenchant-2-2:fi) @@ -83,8 +85,6 @@ 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