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:56 +01:00
parent 858c5a55cf
commit 6ad87caf39

View File

@ -135,7 +135,7 @@ ImageMagick6.
# The DIE_RPATH_DIE trick breaks the build wrt gobject-introspection
sed -i 's|sys_lib_dlsearch_path_spec="|sys_lib_dlsearch_path_spec="/%{_lib} %{_libdir} |' configure
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" tools/vipsprofile
%py3_shebang_fix tools/vipsprofile
%build