From 17a0151050f69130cb120d05933ad9dae0dc5ade Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Jun 15 2017 10:21:24 +0000 Subject: Disable tests on x86 as postgres and/or postgis seem to be crashing --- diff --git a/python-mapnik.spec b/python-mapnik.spec index 2507d76..4547cb5 100644 --- a/python-mapnik.spec +++ b/python-mapnik.spec @@ -87,6 +87,7 @@ export PYCAIRO=true %check +%ifnarch %{ix86} # start a postgres instance for the tests to use pg_ctl initdb -D pg_data -o "-A ident -E utf8" pg_ctl start -w -D pg_data -l pg_log -o "-h '' -k $PWD" @@ -98,6 +99,7 @@ rm test/python_tests/pdf_printing_test.py PGHOST="$PWD" LANG="en_US.utf8" %{__python3} setup.py test # stop the postgres instance pg_ctl stop -D pg_data +%endif %files -n python2-%{srcname}