diff --git a/python-pycryptodome.changes b/python-pycryptodome.changes index f0eb354..11065d5 100644 --- a/python-pycryptodome.changes +++ b/python-pycryptodome.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Mar 9 13:31:35 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-pycryptodome.spec b/python-pycryptodome.spec index bf7c8be..49d959a 100644 --- a/python-pycryptodome.spec +++ b/python-pycryptodome.spec @@ -94,7 +94,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 Crypto.SelfTest +popd} %files %{python_files} %license LICENSE.rst