diff --git a/python-Shapely.changes b/python-Shapely.changes index ee812f7..8060b76 100644 --- a/python-Shapely.changes +++ b/python-Shapely.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 13 16:01:29 UTC 2019 - Todd R + +- Run full unit tests + ------------------------------------------------------------------- Sat Dec 22 05:20:11 UTC 2018 - Todd R diff --git a/python-Shapely.spec b/python-Shapely.spec index 52d4708..6659c42 100644 --- a/python-Shapely.spec +++ b/python-Shapely.spec @@ -1,7 +1,7 @@ # # spec file for package python-Shapely # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -35,13 +35,13 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: geos-devel >= 3.3 BuildRequires: python-rpm-macros -%if %{with test} +# SECTION test requirements BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} %if 0%{?suse_version} > 1320 BuildRequires: %{python_module matplotlib} %endif -%endif +# /SECTION Requires: geos >= 3.3 %ifpython2 Obsoletes: %{oldpython}-shapely < %{version} @@ -51,6 +51,7 @@ Provides: %{oldpython}-shapely = %{version} Obsoletes: python3-shapely < %{version} Provides: python3-shapely = %{version} %endif + %python_subpackages %description @@ -77,10 +78,10 @@ CFLAGS="%{optflags} `geos-config --cflags` LDFLAGS=`geos-config --clibs`" rm -fv %{buildroot}%{_prefix}/shapely/_geos.pxi rm -frv %{buildroot}%{_prefix}/shapely -%if %{with test} %check -%python_exec setup.py test -%endif +mv shapely shapely_temp +%pytest_arch +mv shapely_temp shapely %files %{python_files} %defattr(-,root,root,-)