- Remove shebang from lldb python modules.
- Add proper conditionals. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=21
This commit is contained in:
parent
e8d8e6eaa8
commit
d4c29faf97
@ -1373,8 +1373,13 @@ sed -i "1s|/usr/bin/env *|%{_bindir}/|;1s|/usr/bin/python\$|$(realpath /usr/bin/
|
||||
|
||||
# Remove shebangs where not needed.
|
||||
sed -i '1{ /^#!/d }' \
|
||||
%if %{_plv} == %{_sonum}
|
||||
%{buildroot}%{_datadir}/scan-view/{Reporter,startfile}.py \
|
||||
%endif
|
||||
%if %{with lldb}
|
||||
%{buildroot}%{python3_sitearch}/lldb/utils/{in_call_stack,symbolication}.py \
|
||||
%endif
|
||||
%{buildroot}%{python3_sitelib}/optrecord.py
|
||||
%{buildroot}%{_datadir}/scan-view/{Reporter,startfile}.py
|
||||
|
||||
# Remove executable bit where not needed.
|
||||
chmod -x \
|
||||
|
Loading…
Reference in New Issue
Block a user