diff --git a/python-PyYAML.changes b/python-PyYAML.changes index 08c8ec9..e22b133 100644 --- a/python-PyYAML.changes +++ b/python-PyYAML.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Mar 9 12:51:17 UTC 2022 - pgajdos@suse.com + +- do not use setup.py test construct + https://trello.com/c/me9Z4sIv/121-setuppy-test-leftovers + ------------------------------------------------------------------- Mon Nov 1 20:36:13 UTC 2021 - Tina Müller diff --git a/python-PyYAML.spec b/python-PyYAML.spec index 37338b6..7915a1c 100644 --- a/python-PyYAML.spec +++ b/python-PyYAML.spec @@ -1,7 +1,7 @@ # # spec file for package python-PyYAML # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -68,7 +68,7 @@ find examples/ -type f | xargs chmod a-x %ifarch ppc ppc64 s390 s390x ulimit -Sn 2048 %endif -%python_exec setup.py test +%{python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python tests/lib/test_all.py} %files %{python_files} %license LICENSE