From e35414554d08ef3f78d466901b8c48a3e15b08e7 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Tue, 30 Nov 2021 14:33:19 +0300 Subject: [PATCH] Change /usr/bin/python2-for-tests to python2 --- SPECS/mozjs52.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/SPECS/mozjs52.spec b/SPECS/mozjs52.spec index db04fd9..6d1da72 100644 --- a/SPECS/mozjs52.spec +++ b/SPECS/mozjs52.spec @@ -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 - 52.9.0-2.alma +- Change /usr/bin/python2-for-tests to python2 + * Mon Feb 10 2020 Kalev Lember - 52.9.0-2 - Rebuild for CET notes - Resolves: #1657318