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
This commit is contained in:
parent
0a4f789b30
commit
ad65e5bf75
@ -66,7 +66,7 @@ intended to be run by users.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -S git
|
%autosetup -S git
|
||||||
# Replace whatever the source uses with the approved call
|
# 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
|
%build
|
||||||
%meson -Ddebug-gui=false \
|
%meson -Ddebug-gui=false \
|
||||||
|
Loading…
Reference in New Issue
Block a user