Compare commits

...

1 Commits
c8 ... a8

Author SHA1 Message Date
eabdullin 56d71714c9 Change /usr/bin/python2-for-tests to python2 2021-11-30 14:34:20 +03:00
1 changed files with 6 additions and 3 deletions

View File

@ -12,7 +12,7 @@
Name: mozjs%{major}
Version: 60.9.0
Release: 4%{?dist}
Release: 4%{?dist}.alma
Summary: SpiderMonkey JavaScript library
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
# 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
;
%else
@ -222,7 +222,7 @@ ln -s libmozjs-%{major}.so.0 %{buildroot}%{_libdir}/libmozjs-%{major}.so
%endif
# 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
;
%else
@ -241,6 +241,9 @@ ln -s libmozjs-%{major}.so.0 %{buildroot}%{_libdir}/libmozjs-%{major}.so
%{_includedir}/mozjs-%{major}/
%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
- Update enddianness.patch with more s390x fixes
- Enable tests on s390x again