- Use pytest_arch macro instead of the construct we had there.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=88
This commit is contained in:
Matej Cepl 2020-10-14 10:21:46 +00:00 committed by Git OBS Bridge
parent a6cf51f986
commit e692e8accd
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 14 10:21:34 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Use pytest_arch macro instead of the construct we had there.
-------------------------------------------------------------------
Thu Sep 24 15:46:33 UTC 2020 - Hans-Peter Jansen <hpj@urpla.net>

View File

@ -99,10 +99,7 @@ export CFLAGS="%{optflags}"
%if %{with tests}
%check
export LANG=en_US.UTF-8
%python_exec setup.py build_ext --inplace
timeout 5m bash -c '
%pytest
'
%pytest_arch
%endif
%files %{python_files}