Change /usr/bin/python2-for-tests to python2

This commit is contained in:
eabdullin 2021-11-30 14:34:20 +03:00
parent fc30fc8fb6
commit 56d71714c9
1 changed files with 6 additions and 3 deletions

View File

@ -12,7 +12,7 @@
Name: mozjs%{major} Name: mozjs%{major}
Version: 60.9.0 Version: 60.9.0
Release: 4%{?dist} Release: 4%{?dist}.alma
Summary: SpiderMonkey JavaScript library Summary: SpiderMonkey JavaScript library
License: MPLv2.0 and MPLv1.1 and BSD and GPLv2+ and GPLv3+ and LGPLv2+ and AFL and ASL 2.0 License: MPLv2.0 and MPLv1.1 and BSD and GPLv2+ and GPLv3+ and LGPLv2+ and AFL and ASL 2.0
@ -214,7 +214,7 @@ ln -s libmozjs-%{major}.so.0 %{buildroot}%{_libdir}/libmozjs-%{major}.so
%check %check
# Run SpiderMonkey tests # Run SpiderMonkey tests
/usr/bin/python2-for-tests tests/jstests.py -d -s -t 1800 --no-progress ../../js/src/js/src/shell/js \ python2 tests/jstests.py -d -s -t 1800 --no-progress ../../js/src/js/src/shell/js \
%ifarch %{ix86} x86_64 %{arm} aarch64 ppc ppc64le s390x %ifarch %{ix86} x86_64 %{arm} aarch64 ppc ppc64le s390x
; ;
%else %else
@ -222,7 +222,7 @@ ln -s libmozjs-%{major}.so.0 %{buildroot}%{_libdir}/libmozjs-%{major}.so
%endif %endif
# Run basic JIT tests # Run basic JIT tests
/usr/bin/python2-for-tests jit-test/jit_test.py -s -t 1800 --no-progress ../../js/src/js/src/shell/js basic \ python2 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 s390x %ifarch %{ix86} x86_64 %{arm} aarch64 ppc ppc64le s390x
; ;
%else %else
@ -241,6 +241,9 @@ ln -s libmozjs-%{major}.so.0 %{buildroot}%{_libdir}/libmozjs-%{major}.so
%{_includedir}/mozjs-%{major}/ %{_includedir}/mozjs-%{major}/
%changelog %changelog
* Tue Nov 30 2021 Eduard Abdullin <eabdullin@almalinux.org> - 60.9.0-4.alma
- Change /usr/bin/python2-for-tests to python2
* Mon Feb 17 2020 Kalev Lember <klember@redhat.com> - 60.9.0-4 * Mon Feb 17 2020 Kalev Lember <klember@redhat.com> - 60.9.0-4
- Update enddianness.patch with more s390x fixes - Update enddianness.patch with more s390x fixes
- Enable tests on s390x again - Enable tests on s390x again