From 01d2adff6e72a62e32baa1ca5592cb4e85d3e7fe Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Thu, 21 Sep 2023 18:17:22 +0200 Subject: [PATCH] Fix requirements of Python 3 Resolves: RHEL-2236 --- ibus-table.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/ibus-table.spec b/ibus-table.spec index 5996bc2..94637bb 100644 --- a/ibus-table.spec +++ b/ibus-table.spec @@ -1,6 +1,6 @@ Name: ibus-table Version: 1.9.18 -Release: 6%{?dist} +Release: 7%{?dist} Summary: The Table engine for IBus platform License: LGPLv2+ Group: System Environment/Libraries @@ -11,7 +11,6 @@ Patch1: add-a-gui-test.patch Patch2: use-config-not-gsettings-for-gui-test.patch Patch3: fix-test-cases-for-old-ibus-table.patch Requires: ibus > 1.3.0 -Requires: python(abi) >= 3.3 Requires: %{__python3} BuildRequires: ibus-devel > 1.3.0 BuildRequires: python3-devel @@ -78,8 +77,8 @@ export PYTHON=%{__python3} appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml pushd engine # run doctests - python3 table.py - python3 it_util.py + %{__python3} table.py + %{__python3} it_util.py popd export DISPLAY=:1 Xvfb $DISPLAY -screen 0 1024x768x16 & @@ -136,6 +135,10 @@ fi %{_datadir}/installed-tests/%{name} %changelog +* Thu Sep 21 2023 Mike FABIAN - 1.9.18-7 +- Fix requirements of Python 3 + Resolves: RHEL-2236 + * Tue Feb 16 2021 Mike FABIAN - 1.9.18-6 - Fix a covscan error - Related: rhbz#1929102