- Remove not requires pre/post/postun requires

OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice-voikko?expand=0&rev=22
This commit is contained in:
Tomáš Chvátal 2017-10-05 07:22:06 +00:00 committed by Git OBS Bridge
parent 3442e74c78
commit 3eb2eba4ab
2 changed files with 8 additions and 10 deletions

View File

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

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