We must be explicit about the version of Python in %check.
This commit is contained in:
parent
0616da7501
commit
a5e4deca4f
@ -78,7 +78,7 @@ popd
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
export LANG=en_GB.utf8
|
export LANG=en_GB.utf8
|
||||||
%{__python} %{modname}_test.py
|
%{__python2} %{modname}_test.py
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
pushd %{py3dir}
|
pushd %{py3dir}
|
||||||
|
Loading…
Reference in New Issue
Block a user