diff --git a/kernel.spec b/kernel.spec index 4f4c6007f..2ea563f8b 100644 --- a/kernel.spec +++ b/kernel.spec @@ -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..." -pathfix.py -i "%{__python3} %{py3_shbang_opts}" -p -n \ +/usr/lib/rpm/redhat/pathfix.py -i "%{__python3} %{py3_shbang_opts}" -p -n \ tools/kvm/kvm_stat/kvm_stat \ scripts/show_delta \ scripts/diffconfig \