Fix requirements of Python 3

Resolves: RHEL-2237
This commit is contained in:
Lumir Balhar 2023-09-19 12:23:19 +02:00
parent 58128c7528
commit ef82f087d0

View File

@ -1,6 +1,6 @@
Name: ibus-typing-booster
Version: 2.1.0
Release: 5%{?dist}
Release: 6%{?dist}
Summary: A completion input method
License: GPLv3+
Group: System Environment/Libraries
@ -10,7 +10,6 @@ Patch0: gating.patch
Patch1: Prevent-also-BackSpace-from-reopening-a-preedit-when.patch
Requires: ibus >= 1.5.3
Requires: m17n-lib
Requires: python(abi) >= 3.3
%{?__python3:Requires: %{__python3}}
Requires: python3-dbus
Requires: python3-enchant
@ -132,10 +131,10 @@ desktop-file-validate \
$RPM_BUILD_ROOT%{_datadir}/applications/emoji-picker.desktop
pushd engine
# run doctests
python3 hunspell_suggest.py
python3 m17n_translit.py
python3 itb_emoji.py
python3 itb_util.py
%{__python3} hunspell_suggest.py
%{__python3} m17n_translit.py
%{__python3} itb_emoji.py
%{__python3} itb_util.py
popd
mkdir -p /tmp/glib-2.0/schemas/
cp org.freedesktop.ibus.engine.typing-booster.gschema.xml \
@ -199,6 +198,10 @@ make check || cat ./tests/test-suite.log
%changelog
* Tue Sep 19 2023 Lumír Balhar <lbalhar@redhat.com> - 2.1.0-6
- Fix requirements of Python 3
- Resolves: RHEL-2237
* Thu Feb 04 2021 Mike FABIAN <mfabian@redhat.com> - 2.1.0-5
- Prevent also BackSpace from reopening a preedit when the
option “Arrow keys can reopen a preedit” is off