Handle additional spaces in python shebangs
Resolves: bz#1969433
This commit is contained in:
parent
239c811977
commit
f2c74400df
|
@ -52,7 +52,7 @@
|
|||
-not -name 'Makefile' \\\
|
||||
-type f | while read LINE \
|
||||
do \
|
||||
if grep --quiet "#\\!/usr/bin/env\\ python\\|#\\!/usr/bin/python" "$LINE" \
|
||||
if grep --quiet "#\\!\\ */usr/bin/env\\ python\\|#\\!/usr/bin/python" "$LINE" \
|
||||
then \
|
||||
sed -i s@\\/usr\\/bin\\/python@\\/usr\\/bin\\/python3@ "$LINE" \
|
||||
sed -i s@\\/usr\\/bin\\/env\\ python@\\/usr\\/bin\\/python3@ "$LINE" \
|
||||
|
|
6
qt5.spec
6
qt5.spec
|
@ -6,7 +6,7 @@
|
|||
|
||||
Name: qt5
|
||||
Version: 5.15.2
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: Qt5 meta package
|
||||
License: GPLv3
|
||||
URL: https://getfedora.org/
|
||||
|
@ -141,6 +141,10 @@ echo "- Qt5 devel meta package" > %{buildroot}%{_docdir}/qt5-devel/README
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Jun 10 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-5
|
||||
- Handle additional spaces python shebangs
|
||||
Resolves: bz#1969433
|
||||
|
||||
* Thu Jun 10 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-5
|
||||
- Let qt5_install_tests macro to handle mangling python shebangs
|
||||
Resolves: bz#1969433
|
||||
|
|
Loading…
Reference in New Issue