From 0eac733812b3f470e0a980671b852a4344ab090d Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Fri, 19 Feb 2021 15:33:52 +0100 Subject: [PATCH] Use the voikko build requires only for Fedora. They are only needed to run the voikko test cases during build. --- ibus-typing-booster.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ibus-typing-booster.spec b/ibus-typing-booster.spec index df3abf3..2b0d955 100644 --- a/ibus-typing-booster.spec +++ b/ibus-typing-booster.spec @@ -1,6 +1,6 @@ Name: ibus-typing-booster Version: 2.10.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A completion input method License: GPLv3+, ASL 2.0 URL: https://mike-fabian.github.io/ibus-typing-booster/ @@ -42,8 +42,8 @@ BuildRequires: python34-devel BuildRequires: m17n-lib BuildRequires: m17n-db-extras BuildRequires: python3-enchant +%if 0%{?fedora} && 0%{?fedora} >= 34 BuildRequires: python3-libvoikko -%if (0%{?rhel} && 0%{?rhel} >= 9) || (0%{?fedora} && 0%{?fedora} >= 34) BuildRequires: voikko-fi %endif %if 0%{?fedora} @@ -239,6 +239,10 @@ fi %{_datadir}/applications/emoji-picker.desktop %changelog +* Fri Feb 19 2021 Mike FABIAN - 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 - 2.10.5-1 - Update to 2.10.5 - Run the voikko tests only for libvoikko version >= 4.3