Compare commits

...

1 Commits
c8 ... a8

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

View File

@ -12,7 +12,7 @@
Name: mozjs%{major}
Version: 52.9.0
Release: 2%{?dist}
Release: 2%{?dist}.alma
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
@ -161,7 +161,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 s390
;
%else
@ -169,7 +169,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 s390
;
%else
@ -189,6 +189,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> - 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
- Rebuild for CET notes
- Resolves: #1657318