Fix mangling shebangs
Resolves: bz#1968462
This commit is contained in:
parent
3494e108ac
commit
73b5ef18bf
@ -112,10 +112,15 @@ export PATH=`pwd`:$PATH
|
|||||||
|
|
||||||
%if 0%{?build_tests}
|
%if 0%{?build_tests}
|
||||||
%qt5_install_tests
|
%qt5_install_tests
|
||||||
%endif
|
|
||||||
|
|
||||||
# Fix mangling shebangs
|
# 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\/python@\/usr\/bin\/python3@ %{buildroot}%{_qt5_libdir}/qt5/tests/auto/qml/ecmascripttests/test262.py
|
||||||
|
%endif
|
||||||
|
|
||||||
%ifarch %{multilib_archs}
|
%ifarch %{multilib_archs}
|
||||||
# multilib: qv4global_p.h
|
# multilib: qv4global_p.h
|
||||||
|
Loading…
Reference in New Issue
Block a user