File project.diff of Package llvm22

--- llvm22.spec.orig
+++ llvm22.spec
@@ -1258,7 +1258,7 @@ rm %{buildroot}%{_mandir}/man1/llvm-{exe
 
 %if %{with lldb_python}
 # Python: fix binary libraries location.
-rm %{buildroot}%{python_pkg_sitearch}/lldb/native/_lldb.abi3.so
+rm -f %{buildroot}%{python_pkg_sitearch}/lldb/native/_lldb.abi3.so
 liblldb=$(readlink %{buildroot}%{_libdir}/liblldb.so)
 ln -vsf "../../../../${liblldb}" %{buildroot}%{python_pkg_sitearch}/lldb/native/_lldb.abi3.so
 %endif
openSUSE Build Service is sponsored by