diff --git a/python-cartopy.spec b/python-cartopy.spec index e4f90fd..c3c6004 100644 --- a/python-cartopy.spec +++ b/python-cartopy.spec @@ -121,8 +121,12 @@ PYTHONPATH="%{buildroot}%{python3_sitearch}" PYTHONDONTWRITEBYTECODE=1 MPLBACKEN pytest-3 --doctest-modules --pyargs cartopy %else PYTHONPATH="%{buildroot}%{python3_sitearch}" PYTHONDONTWRITEBYTECODE=1 MPLBACKEND=Agg \ +%ifarch s390x + pytest-3 --doctest-modules --pyargs cartopy -m "not network" || : +%else pytest-3 --doctest-modules --pyargs cartopy -m "not network" %endif +%endif %files -n python-%{srcname}-common