We must be explicit about the version of Python in %check.

This commit is contained in:
Matěj Cepl 2019-01-17 23:33:04 +01:00
parent 0616da7501
commit a5e4deca4f

View File

@ -78,7 +78,7 @@ popd
%check
export LANG=en_GB.utf8
%{__python} %{modname}_test.py
%{__python2} %{modname}_test.py
%if 0%{?with_python3}
pushd %{py3dir}