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