diff --git a/python-plyvel.changes b/python-plyvel.changes index 9005a95..4f5dcd6 100644 --- a/python-plyvel.changes +++ b/python-plyvel.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 27 07:28:42 UTC 2021 - pgajdos@suse.com + +- %check: do not call setup.py test, use %pytest_arch macro + ------------------------------------------------------------------- Wed Mar 18 07:35:14 UTC 2020 - Marketa Calabkova diff --git a/python-plyvel.spec b/python-plyvel.spec index 4fbdeeb..0259f00 100644 --- a/python-plyvel.spec +++ b/python-plyvel.spec @@ -1,7 +1,7 @@ # # spec file for package python-plyvel # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -46,6 +46,7 @@ cache sizes, custom comparators. %prep %setup -q -n plyvel-%{version} +mkdir tests %build %python_build @@ -55,8 +56,8 @@ cache sizes, custom comparators. %fdupes %{buildroot} %check -%python_exec setup.py test -%pytest +mv plyvel plyvel.hide +%pytest_arch %files %{python_files} %license LICENSE.rst