diff --git a/python-pycryptodomex.changes b/python-pycryptodomex.changes index 022ff16..b19d4bd 100644 --- a/python-pycryptodomex.changes +++ b/python-pycryptodomex.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Mar 9 13:23:31 UTC 2022 - pgajdos@suse.com + +- do not use setup.py test construct + https://trello.com/c/me9Z4sIv/121-setuppy-test-leftovers + ------------------------------------------------------------------- Tue Feb 15 08:52:41 UTC 2022 - Dirk Müller diff --git a/python-pycryptodomex.spec b/python-pycryptodomex.spec index a6ed338..d6dc8de 100644 --- a/python-pycryptodomex.spec +++ b/python-pycryptodomex.spec @@ -90,7 +90,9 @@ export LC_ALL=en_US.UTF-8 %check export LC_ALL=en_US.UTF-8 -%python_exec setup.py test +%{python_expand pushd %{buildroot}%{$python_sitearch} +PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m Cryptodome.SelfTest +popd} %files %{python_files} %license LICENSE.rst