From 3442e74c78c5f0c424c6b6d34a278862b308cbadd0ef7dc8ea871265944b537b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 5 Oct 2017 07:14:37 +0000 Subject: [PATCH 1/2] Accepting request 531532 from home:illuusio - Added python3-libvoikko to requires list so spell checking actually works OBS-URL: https://build.opensuse.org/request/show/531532 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice-voikko?expand=0&rev=21 --- libreoffice-voikko.changes | 6 ++++++ libreoffice-voikko.spec | 1 + 2 files changed, 7 insertions(+) diff --git a/libreoffice-voikko.changes b/libreoffice-voikko.changes index c6149c1..b34e758 100644 --- a/libreoffice-voikko.changes +++ b/libreoffice-voikko.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Oct 4 08:01:02 UTC 2017 - tuukka.pasanen@ilmi.fi + +- Added python3-libvoikko to requires list so spell checking + actually works + ------------------------------------------------------------------- Wed Jun 7 16:47:57 UTC 2017 - tchvatal@suse.com diff --git a/libreoffice-voikko.spec b/libreoffice-voikko.spec index fcd06eb..afd8deb 100644 --- a/libreoffice-voikko.spec +++ b/libreoffice-voikko.spec @@ -39,6 +39,7 @@ Requires(post): libreoffice >= 4.1 Requires(postun): coreutils Requires(postun): grep Requires(postun): libreoffice >= 4.1 +Requires: python3-libvoikko Provides: locale(libreoffice:fi) %description From 3eb2eba4abf6fc5843a614908784e5b49b291b342f3fa79f2f2bfb13ecc7211d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 5 Oct 2017 07:22:06 +0000 Subject: [PATCH 2/2] - Remove not requires pre/post/postun requires OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice-voikko?expand=0&rev=22 --- libreoffice-voikko.changes | 5 +++++ libreoffice-voikko.spec | 13 +++---------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/libreoffice-voikko.changes b/libreoffice-voikko.changes index b34e758..db4985c 100644 --- a/libreoffice-voikko.changes +++ b/libreoffice-voikko.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 4 17:02:42 UTC 2017 - tuukka.pasanen@ilmi.fi + +- Remove not requires pre/post/postun requires + ------------------------------------------------------------------- Wed Oct 4 08:01:02 UTC 2017 - tuukka.pasanen@ilmi.fi diff --git a/libreoffice-voikko.spec b/libreoffice-voikko.spec index afd8deb..788303d 100644 --- a/libreoffice-voikko.spec +++ b/libreoffice-voikko.spec @@ -20,7 +20,7 @@ Name: libreoffice-voikko Version: 5.0 Release: 0 Summary: LibreOffice spellchecker/hyphenator for finnish language -License: MPL-2.0 or GPL-3.0+ +License: MPL-2.0 OR GPL-3.0+ Group: Productivity/Text/Spell Url: http://voikko.puimula.org/ Source0: http://www.puimula.org/voikko-sources/%{name}/%{name}-%{version}.tar.gz @@ -30,15 +30,10 @@ BuildRequires: gcc-c++ BuildRequires: java-devel BuildRequires: libreoffice >= 4.1 BuildRequires: libreoffice-sdk >= 4.1 -BuildRequires: libvoikko-devel +BuildRequires: pkgconfig BuildRequires: unzip BuildRequires: zip -Requires(post): coreutils -Requires(post): grep -Requires(post): libreoffice >= 4.1 -Requires(postun): coreutils -Requires(postun): grep -Requires(postun): libreoffice >= 4.1 +BuildRequires: pkgconfig(libvoikko) Requires: python3-libvoikko Provides: locale(libreoffice:fi) @@ -54,14 +49,12 @@ libvoikko as backend. make oxt %{?_smp_mflags} %install - voikko_pkg=$(pwd)/build/voikko.oxt mkdir -p %{buildroot}%{_libdir}/libreoffice/share/extensions/voikko cd %{buildroot}%{_libdir}/libreoffice/share/extensions/voikko unzip $voikko_pkg %files -%defattr(-,root,root,0755) %doc COPYING README %{_libdir}/libreoffice/share/extensions/voikko