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

This commit is contained in:
eabdullin 2021-11-30 14:33:19 +03:00
parent 1bd3c56cf7
commit e35414554d
1 changed files with 6 additions and 3 deletions

View File

@ -12,7 +12,7 @@
Name: mozjs%{major} Name: mozjs%{major}
Version: 52.9.0 Version: 52.9.0
Release: 2%{?dist} Release: 2%{?dist}.alma
Summary: SpiderMonkey JavaScript library Summary: SpiderMonkey JavaScript library
License: MPLv2.0 and MPLv1.1 and BSD and GPLv2+ and GPLv3+ and LGPLv2.1 and LGPLv2.1+ and AFL and ASL 2.0 License: MPLv2.0 and MPLv1.1 and BSD and GPLv2+ and GPLv3+ and LGPLv2.1 and LGPLv2.1+ and AFL and ASL 2.0
@ -161,7 +161,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 s390 %ifarch %{ix86} x86_64 %{arm} aarch64 ppc ppc64le s390
; ;
%else %else
@ -169,7 +169,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 s390 %ifarch %{ix86} x86_64 %{arm} aarch64 ppc ppc64le s390
; ;
%else %else
@ -189,6 +189,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> - 52.9.0-2.alma
- Change /usr/bin/python2-for-tests to python2
* Mon Feb 10 2020 Kalev Lember <klember@redhat.com> - 52.9.0-2 * Mon Feb 10 2020 Kalev Lember <klember@redhat.com> - 52.9.0-2
- Rebuild for CET notes - Rebuild for CET notes
- Resolves: #1657318 - Resolves: #1657318