Skip to content

Commit

Permalink
Switch to py3_shebang_fix
Browse files Browse the repository at this point in the history
pathfix changed its location between f37 and f40, but helpfully there is
a macro for it.

(cherry picked from commit 145304b)
  • Loading branch information
marmarek committed Aug 1, 2024
1 parent 7866b25 commit 10f7e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ sed -i -e 's/^EXTRAVERSION = -rc.*/EXTRAVERSION =/' Makefile
# This fixes errors such as
# *** 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.
pathfix.py -i "%{__python3} %{py3_shbang_opts}" -p -n \
%py3_shebang_fix \
tools/kvm/kvm_stat/kvm_stat \
scripts/show_delta \
scripts/diffconfig \
Expand Down

0 comments on commit 10f7e52

Please sign in to comment.