From 150440f095a56ffa1a068fea014e8575c221e645 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Thu, 10 Jun 2021 08:47:58 +0200 Subject: [PATCH] Fix mangling shebangs Resolves: bz#1968462 --- qt5-qtdeclarative.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/qt5-qtdeclarative.spec b/qt5-qtdeclarative.spec index 6836ddf..7520b3f 100644 --- a/qt5-qtdeclarative.spec +++ b/qt5-qtdeclarative.spec @@ -114,12 +114,12 @@ export PATH=`pwd`:$PATH %qt5_install_tests # Fix mangling shebangs -sed -i s@\/usr\/bin\/python@\/usr\/bin\/python3@ %{buildroot}%{_qt5_libdir}/qt5/tests/auto/qml/ecmascripttests/test262/make.py -sed -i s@\/usr\/bin\/python@\/usr\/bin\/python3@ %{buildroot}%{_qt5_libdir}/qt5/tests/auto/qml/ecmascripttests/test262/tools/generation/test/run.py -sed -i s@\/usr\/bin\/python@\/usr\/bin\/python3@ %{buildroot}%{_qt5_libdir}/qt5/tests/auto/qml/ecmascripttests/test262/tools/generation/generator.py -sed -i s@\/usr\/bin\/python@\/usr\/bin\/python3@ %{buildroot}%{_qt5_libdir}/qt5/tests/auto/qml/ecmascripttests/test262/tools/lint/lint.py -sed -i s@\/usr\/bin\/python@\/usr\/bin\/python3@ %{buildroot}%{_qt5_libdir}/qt5/tests/auto/qml/ecmascripttests/test262/tools/lint/test/run.py -sed -i s@\/usr\/bin\/python@\/usr\/bin\/python3@ %{buildroot}%{_qt5_libdir}/qt5/tests/auto/qml/ecmascripttests/test262.py +sed -i s@\/usr\/bin\/env\ python@\/usr\/bin\/python3@ %{buildroot}%{_qt5_libdir}/qt5/tests/auto/qml/ecmascripttests/test262/make.py +sed -i s@\/usr\/bin\/env\ python@\/usr\/bin\/python3@ %{buildroot}%{_qt5_libdir}/qt5/tests/auto/qml/ecmascripttests/test262/tools/generation/test/run.py +sed -i s@\/usr\/bin\/env\ python@\/usr\/bin\/python3@ %{buildroot}%{_qt5_libdir}/qt5/tests/auto/qml/ecmascripttests/test262/tools/generation/generator.py +sed -i s@\/usr\/bin\/env\ python@\/usr\/bin\/python3@ %{buildroot}%{_qt5_libdir}/qt5/tests/auto/qml/ecmascripttests/test262/tools/lint/lint.py +sed -i s@\/usr\/bin\/env\ python@\/usr\/bin\/python3@ %{buildroot}%{_qt5_libdir}/qt5/tests/auto/qml/ecmascripttests/test262/tools/lint/test/run.py +sed -i s@\/usr\/bin\/env\ python@\/usr\/bin\/python3@ %{buildroot}%{_qt5_libdir}/qt5/tests/auto/qml/ecmascripttests/test262.py %endif %ifarch %{multilib_archs}