diff --git a/.gitignore b/.gitignore index 7ac43c7..12eca4d 100644 --- a/.gitignore +++ b/.gitignore @@ -98,3 +98,4 @@ ibus-table-1.3.0.20100621.tar.gz /ibus-table-1.17.3.tar.gz /ibus-table-1.17.4.tar.gz /ibus-table-1.17.5.tar.gz +/ibus-table-1.17.6.tar.gz diff --git a/ibus-table.spec b/ibus-table.spec index bed6577..47049df 100644 --- a/ibus-table.spec +++ b/ibus-table.spec @@ -1,5 +1,5 @@ Name: ibus-table -Version: 1.17.5 +Version: 1.17.6 Release: %autorelease Summary: The Table engine for IBus platform License: LGPL-2.1-or-later @@ -79,22 +79,8 @@ desktop-file-validate \ $RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-table.desktop pushd engine # run doctests - python3 table.py - # Function to compare two version strings - version_ge() { - [ "$(printf '%s\n' "$1" "$2" | sort -V | head -n1)" = "$2" ] - } - # Get the installed version of ibus-devel - installed_version=$(rpm -q --qf '%%{VERSION}-%%{RELEASE}' ibus-devel) - # Define the minimum required version for the test - required_version="1.5.31-1" - # Compare versions - if version_ge "$installed_version" "$required_version"; then - echo "Running test: ibus-devel version is greater than or equal to $required_version" - python3 it_util.py - else - echo "Skipping python3 it_util.py: ibus-devel version is less than $required_version" - fi + python3 table.py -v + python3 it_util.py -v popd mkdir -p /tmp/glib-2.0/schemas/ cp org.freedesktop.ibus.engine.table.gschema.xml \ diff --git a/sources b/sources index f49e761..0d40773 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ibus-table-1.17.5.tar.gz) = 176cf01c170d460997797c0f06e18da95bb78beffb439d71831ed4908a93462db00f3ee39a3ddd973d41cb8abbc735e0cf5467c7d6d089031cec2ab4c4f70e50 +SHA512 (ibus-table-1.17.6.tar.gz) = 0c3f23595bf1ecc2c3e34962fca3e2317771ba0837c1a04fbcbaae089196994764307184dd482f0a9efcae2106e013ca51cf9530bd1c7cfb29070f54b16a276e