From 90379f8188ea6c9b45f10009e6d5059a1211f479 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Nov 01 2022 05:59:25 +0000 Subject: Change location of pathfix.py For more info see https://fedoraproject.org/wiki/Changes/Python3.12#pathfix.py_tool_will_be_removed --- diff --git a/autojump.spec b/autojump.spec index 76ce0e6..53adac2 100644 --- a/autojump.spec +++ b/autojump.spec @@ -51,7 +51,7 @@ autojump-fish is designed to work with fish shell. # Use system argparse sed -i 's|autojump_argparse|argparse|' bin/%{name} # Fix shebangs, non .py files need to be specified manually, so we provide bin/* as well as . -pathfix.py -i %{__python3} -pn . ./bin/* +%{__python3} %{_rpmconfigdir}/redhat/pathfix.py -i %{__python3} -pn . ./bin/* sed -i '1{/^#!/d}' bin/%{name}_*.py %build