Fix python3-fix-shebang-path
This commit is contained in:
parent
8aeefcbe42
commit
5165cf2176
@ -492,8 +492,7 @@ mkdir -pv %buildroot/%_sysconfdir/alternatives %buildroot/%_sysconfdir/cifs-util
|
||||
ln -sfv %_sysconfdir/alternatives/%cifs_idmap_name %buildroot/%cifs_idmap_plugin
|
||||
%python3_fix_shebang
|
||||
%if 0%{?suse_version} > 1600
|
||||
# TODO Check latest fix for leap 15.6
|
||||
%python3_fix_shebang_path %buildroot/%_libexecdir/%name/
|
||||
%python3_fix_shebang_path %{buildroot}/%{_libexecdir}/%{name}/sss_analyze
|
||||
%elif 0%{?suse_version} == 1600
|
||||
# python3_fix_shebang_path macro does not exist in < 1600, was added in python-rom-macros 20231204
|
||||
sed -i '1s@#!.*python.*@#!%{_bindir}/python3.11@' %{buildroot}/%{_libexecdir}/%{name}/sss_analyze
|
||||
|
Loading…
Reference in New Issue
Block a user