From ebb46cf83ad343694d389f79e7b8fc2fd168274f Mon Sep 17 00:00:00 2001 From: Filip Janus Date: Mon, 1 Dec 2025 10:00:12 +0000 Subject: [PATCH] Disable tests for i686 because it's broken for the GEOS and postgresql 18 combination in the RHEL environment. Resolves: RHEL-90852 --- postgis.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/postgis.spec b/postgis.spec index 3460183..92074b3 100644 --- a/postgis.spec +++ b/postgis.spec @@ -338,6 +338,9 @@ find %buildroot \( -name '*.la' -or -name '*.a' \) -delete desktop-file-validate %{buildroot}/%{_datadir}/applications/shp2pgsql-gui.desktop %endif %if %runselftest +%ifnarch i686 +# tests are broken on i686 and this arch is not supported +# especially the combination of GEOS 3.12 and postgresql 18 causes troubles %postgresql_tests_run export PGIS_REG_TMPDIR=`mktemp -d` if ! LD_LIBRARY_PATH=%{buildroot}%_libdir make check %{_smp_mflags} ; then @@ -347,6 +350,7 @@ if ! LD_LIBRARY_PATH=%{buildroot}%_libdir make check %{_smp_mflags} ; then done fi %endif +%endif %if %javabuild