From 78203be2bc1354388c4bf001b8feee6c3e38ba11 Mon Sep 17 00:00:00 2001 From: "Justin M. Forbes" Date: Wed, 5 Jul 2023 16:48:53 -0500 Subject: [PATCH] Switch to py3_shebang_fix 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 2ea563f8b..f4fd4c5cf 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..." -/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 \