Fix requirements of Python 3

Resolves: RHEL-2236
This commit is contained in:
Mike FABIAN 2023-09-21 18:17:22 +02:00
parent 9cae7063ac
commit 01d2adff6e

View File

@ -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 <mfabian@redhat.com> - 1.9.18-7
- Fix requirements of Python 3
Resolves: RHEL-2236
* Tue Feb 16 2021 Mike FABIAN <mfabian@redhat.com> - 1.9.18-6
- Fix a covscan error
- Related: rhbz#1929102