diff --git a/libreoffice-voikko.changes b/libreoffice-voikko.changes index c6149c1..db4985c 100644 --- a/libreoffice-voikko.changes +++ b/libreoffice-voikko.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +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 + +- 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..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,11 @@ 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) %description @@ -53,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