Switch to py3_shebang_fix

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
This commit is contained in:
Justin M. Forbes 2023-07-05 16:48:53 -05:00
parent 3a916dcf88
commit 78203be2bc
No known key found for this signature in database
GPG Key ID: B8FA7924A4B1C140

View File

@ -1783,7 +1783,7 @@ rm -f localversion-next
# *** ERROR: ambiguous python shebang in /usr/bin/kvm_stat: #!/usr/bin/python. Change it to python3 (or python2) explicitly.
# We patch all sources below for which we got a report/error.
echo "Fixing Python shebangs..."
/usr/lib/rpm/redhat/pathfix.py -i "%{__python3} %{py3_shbang_opts}" -p -n \
%py3_shebang_fix \
tools/kvm/kvm_stat/kvm_stat \
scripts/show_delta \
scripts/diffconfig \