Properly call python2 in check.
This commit is contained in:
parent
8274cbbc56
commit
673d98d62e
@ -175,7 +175,7 @@ make test DESTDIR=$RPM_BUILD_ROOT
|
|||||||
%if 0%{?rhel} == 0
|
%if 0%{?rhel} == 0
|
||||||
# We want to check that the new library is able to open the new dictionaries,
|
# We want to check that the new library is able to open the new dictionaries,
|
||||||
# using the new python module.
|
# using the new python module.
|
||||||
LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir} %{__python} 2>&1 << EOF
|
LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir} %{__python2} 2>&1 << EOF
|
||||||
import string, sys
|
import string, sys
|
||||||
# Prepend buildroot-specific variations of the python path to the python path.
|
# Prepend buildroot-specific variations of the python path to the python path.
|
||||||
syspath2=[]
|
syspath2=[]
|
||||||
|
Loading…
Reference in New Issue
Block a user