Accepting request 960740 from home:pgajdos:python

- do not use setup.py test construct
  https://trello.com/c/me9Z4sIv/121-setuppy-test-leftovers

OBS-URL: https://build.opensuse.org/request/show/960740
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyYAML?expand=0&rev=45
This commit is contained in:
Matej Cepl 2022-03-11 09:26:36 +00:00 committed by Git OBS Bridge
parent b3420e1e8d
commit 1d82aa061b
2 changed files with 8 additions and 2 deletions

View File

@ -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 <tina.mueller@suse.com> Mon Nov 1 20:36:13 UTC 2021 - Tina Müller <tina.mueller@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-PyYAML # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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 %ifarch ppc ppc64 s390 s390x
ulimit -Sn 2048 ulimit -Sn 2048
%endif %endif
%python_exec setup.py test %{python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python tests/lib/test_all.py}
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE