From 3a916dcf88cd7a8e9270a20e4114d6aa3e39d5b6 Mon Sep 17 00:00:00 2001 From: "Justin M. Forbes" Date: Wed, 5 Jul 2023 16:02:03 -0500 Subject: [PATCH] Fix up location for pathfix Signed-off-by: Justin M. Forbes --- kernel.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \