Accepting request 531537 from LibreOffice:Factory

- Remove not requires pre/post/postun requires

- Added python3-libvoikko to requires list so spell checking
  actually works

OBS-URL: https://build.opensuse.org/request/show/531537
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libreoffice-voikko?expand=0&rev=17
This commit is contained in:
Dominique Leuenberger 2017-10-11 20:56:48 +00:00 committed by Git OBS Bridge
commit 16f6dfb6de
2 changed files with 15 additions and 10 deletions

View File

@ -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

View File

@ -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