forked from pool/enchant
Accepting request 613057 from GNOME:Factory
- 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. (forwarded request 612906 from badshah400) OBS-URL: https://build.opensuse.org/request/show/613057 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/enchant?expand=0&rev=31
This commit is contained in:
commit
b8c993a9da
@ -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
|
Sat Mar 10 09:04:52 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -60,7 +60,6 @@ This package provides data/configuration files for libenchant.
|
|||||||
%package -n enchant-2-backend-hunspell
|
%package -n enchant-2-backend-hunspell
|
||||||
Summary: Hunspell backend for the Enchant spell checking library
|
Summary: Hunspell backend for the Enchant spell checking library
|
||||||
Group: Productivity/Text/Spell
|
Group: Productivity/Text/Spell
|
||||||
Supplements: packageand(libenchant-2-2:%(rpm -q --qf "%%{name}" -f $(readlink -f %{_libdir}/libhunspell.so))
|
|
||||||
Provides: enchant-2-backend
|
Provides: enchant-2-backend
|
||||||
|
|
||||||
%description -n enchant-2-backend-hunspell
|
%description -n enchant-2-backend-hunspell
|
||||||
@ -71,7 +70,6 @@ libraries.
|
|||||||
%package -n enchant-2-backend-voikko
|
%package -n enchant-2-backend-voikko
|
||||||
Summary: Voikko backend for the Enchant spell checking library
|
Summary: Voikko backend for the Enchant spell checking library
|
||||||
Group: Productivity/Text/Spell
|
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: enchant-2-backend
|
||||||
Provides: locale(libenchant-2-2:fi)
|
Provides: locale(libenchant-2-2:fi)
|
||||||
|
|
||||||
@ -85,6 +83,9 @@ Summary: Generic Spell Checking Library
|
|||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: enchant-2-backend
|
Requires: enchant-2-backend
|
||||||
Requires: enchant-data >= %{version}
|
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
|
%description -n libenchant-2-2
|
||||||
A library providing an efficient extensible abstraction for dealing
|
A library providing an efficient extensible abstraction for dealing
|
||||||
|
Loading…
x
Reference in New Issue
Block a user