Switch from pathfix.py to %py3_shebang_fix

For more info see https://fedoraproject.org/wiki/Changes/Python3.12#pathfix.py_tool_will_be_removed
This commit is contained in:
Lumir Balhar 2022-11-01 07:20:34 +01:00
parent be36aacad4
commit fe74639b4d

View File

@ -43,9 +43,9 @@ priority is changed, be it using tuna or plain chrt & taskset.
%build
%py3_build
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" tuna/
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" tuna-cmd.py
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" oscilloscope-cmd.py
%py3_shebang_fix tuna/
%py3_shebang_fix tuna-cmd.py
%py3_shebang_fix oscilloscope-cmd.py
%install
rm -rf %{buildroot}