Use the voikko build requires only for Fedora. They are only needed to run the voikko test cases during build.

This commit is contained in:
Mike FABIAN 2021-02-19 15:33:52 +01:00
parent 7c0e1d0afd
commit 0eac733812

View File

@ -1,6 +1,6 @@
Name: ibus-typing-booster Name: ibus-typing-booster
Version: 2.10.5 Version: 2.10.5
Release: 1%{?dist} Release: 2%{?dist}
Summary: A completion input method Summary: A completion input method
License: GPLv3+, ASL 2.0 License: GPLv3+, ASL 2.0
URL: https://mike-fabian.github.io/ibus-typing-booster/ URL: https://mike-fabian.github.io/ibus-typing-booster/
@ -42,8 +42,8 @@ BuildRequires: python34-devel
BuildRequires: m17n-lib BuildRequires: m17n-lib
BuildRequires: m17n-db-extras BuildRequires: m17n-db-extras
BuildRequires: python3-enchant BuildRequires: python3-enchant
%if 0%{?fedora} && 0%{?fedora} >= 34
BuildRequires: python3-libvoikko BuildRequires: python3-libvoikko
%if (0%{?rhel} && 0%{?rhel} >= 9) || (0%{?fedora} && 0%{?fedora} >= 34)
BuildRequires: voikko-fi BuildRequires: voikko-fi
%endif %endif
%if 0%{?fedora} %if 0%{?fedora}
@ -239,6 +239,10 @@ fi
%{_datadir}/applications/emoji-picker.desktop %{_datadir}/applications/emoji-picker.desktop
%changelog %changelog
* Fri Feb 19 2021 Mike FABIAN <mfabian@redhat.com> - 2.10.5-2
- Use the voikko build requires only for Fedora. They are only
needed to run the voikko test cases during build.
* Wed Feb 17 2021 Mike FABIAN <mfabian@redhat.com> - 2.10.5-1 * Wed Feb 17 2021 Mike FABIAN <mfabian@redhat.com> - 2.10.5-1
- Update to 2.10.5 - Update to 2.10.5
- Run the voikko tests only for libvoikko version >= 4.3 - Run the voikko tests only for libvoikko version >= 4.3