From ad65e5bf75358bdbad38d0aca491365c800f7e8b Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Nov 27 2022 23:36:04 +0000 Subject: Use %py3_shebang_fix instead of direct call of pathfix.py For more info see https://fedoraproject.org/wiki/Changes/Python3.12#pathfix.py_tool_will_be_removed --- diff --git a/libinput.spec b/libinput.spec index 0d54c5c..a1525f5 100644 --- a/libinput.spec +++ b/libinput.spec @@ -66,7 +66,7 @@ intended to be run by users. %prep %autosetup -S git # Replace whatever the source uses with the approved call -pathfix.py -i %{__python3} -p -n $(git grep -l '#!/usr/bin/.*python3') +%py3_shebang_fix $(git grep -l '#!/usr/bin/.*python3') %build %meson -Ddebug-gui=false \