diff --git a/mozjs52.spec b/mozjs52.spec index 3c80b49..db04fd9 100644 --- a/mozjs52.spec +++ b/mozjs52.spec @@ -161,7 +161,7 @@ ln -s libmozjs-%{major}.so.0 %{buildroot}%{_libdir}/libmozjs-%{major}.so %check # Run SpiderMonkey tests -python2 tests/jstests.py -d -s -t 1800 --no-progress ../../js/src/js/src/shell/js \ +/usr/bin/python2-for-tests tests/jstests.py -d -s -t 1800 --no-progress ../../js/src/js/src/shell/js \ %ifarch %{ix86} x86_64 %{arm} aarch64 ppc ppc64le s390 ; %else @@ -169,7 +169,7 @@ python2 tests/jstests.py -d -s -t 1800 --no-progress ../../js/src/js/src/shell/j %endif # Run basic JIT tests -python2 jit-test/jit_test.py -s -t 1800 --no-progress ../../js/src/js/src/shell/js basic \ +/usr/bin/python2-for-tests jit-test/jit_test.py -s -t 1800 --no-progress ../../js/src/js/src/shell/js basic \ %ifarch %{ix86} x86_64 %{arm} aarch64 ppc ppc64le s390 ; %else