diff --git a/.gitignore b/.gitignore index d28a29c..8a5dbec 100644 --- a/.gitignore +++ b/.gitignore @@ -152,3 +152,4 @@ /ibus-typing-booster-2.10.2.tar.gz /ibus-typing-booster-2.10.3.tar.gz /ibus-typing-booster-2.10.4.tar.gz +/ibus-typing-booster-2.10.5.tar.gz diff --git a/ibus-typing-booster.spec b/ibus-typing-booster.spec index 26de707..df3abf3 100644 --- a/ibus-typing-booster.spec +++ b/ibus-typing-booster.spec @@ -1,5 +1,5 @@ Name: ibus-typing-booster -Version: 2.10.4 +Version: 2.10.5 Release: 1%{?dist} Summary: A completion input method License: GPLv3+, ASL 2.0 @@ -43,7 +43,12 @@ BuildRequires: m17n-lib BuildRequires: m17n-db-extras BuildRequires: python3-enchant BuildRequires: python3-libvoikko +%if (0%{?rhel} && 0%{?rhel} >= 9) || (0%{?fedora} && 0%{?fedora} >= 34) +BuildRequires: voikko-fi +%endif +%if 0%{?fedora} BuildRequires: appstream +%endif BuildRequires: libappstream-glib BuildRequires: desktop-file-utils BuildRequires: python3-gobject @@ -131,7 +136,9 @@ export PYTHON=%{__python3} %check export LC_ALL=C.UTF-8 +%if 0%{?fedora} appstreamcli validate --pedantic --no-net %{buildroot}/%{_datadir}/metainfo/*.appdata.xml +%endif appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml desktop-file-validate \ $RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-typing-booster.desktop @@ -232,6 +239,21 @@ fi %{_datadir}/applications/emoji-picker.desktop %changelog +* 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 +- Adapt voikko test cases to the newest voikko version + libvoikko-4.3-3, python3-libvoikko-4.3-3, voikko-fi-2.4-3 +- Log a warning when language is “fi” and “import libvoikko” failed +- Return an empty list [] in spellcheck_suggest_voikko() when libvoikko was not imported +- Update emoji annotations from CLDR, switching “no” and “nb” + See: https://unicode-org.atlassian.net/browse/CLDR-2698 +- Remove icon in emoji-picker.appdata.xml (to avoid warnings + from appstream-util and appstreamcli). + +* Wed Feb 17 2021 Mike FABIAN - 2.10.4-2 +- Use “BuildRequires: appstream” only on Fedora + * Tue Feb 02 2021 Mike FABIAN - 2.10.4-1 - Update to 2.10.4 - Use “from unittest import mock” instead of just “import mock”. diff --git a/sources b/sources index de74072..a29c7c9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ibus-typing-booster-2.10.4.tar.gz) = 5323f0b44fe9a8901d9a0de861c33bc884e0105fb592958326e4cd5edf76ce822a2dd706bd05385f28898efd7a7702f24b5aae7b8f6673951ac0dcee26377a3b +SHA512 (ibus-typing-booster-2.10.5.tar.gz) = f3bc5536874227b5482e46a097ac634a522651b3d200b33207705f5b1d87b8894dd962e19c389281fa5f32c1edbf3186dbfba12d718cbc6fa159d648bc622bf6