- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xxhash?expand=0&rev=20
This commit is contained in:
Dirk Mueller 2021-10-16 09:34:29 +00:00 committed by Git OBS Bridge
parent 2057ea8923
commit 1316f83143
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 27 12:21:23 UTC 2021 - pgajdos@suse.com
- %check: use %pyunittest rpm macro
-------------------------------------------------------------------
Thu Aug 26 11:46:32 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -52,7 +52,9 @@ export XXHASH_LINK_SO=1
%check
export LANG=en_US.UTF-8
export XXHASH_LINK_SO=1
%python_exec setup.py test
mv xxhash{,.hide}
%pyunittest_arch discover -v
mv xxhash{.hide,}
%files %{python_files}
%doc README.rst