diff --git a/llvm18.spec b/llvm18.spec index c8d2c53..f3ea802 100644 --- a/llvm18.spec +++ b/llvm18.spec @@ -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 \