Remove %ldconfig_scriptlets and remove liblldb*.a files

This commit is contained in:
Konrad Kleine 2024-07-02 16:08:10 +00:00 committed by Timm Bäder
parent bbf0c012f8
commit 2fdbeecccd

View file

@ -285,8 +285,7 @@ fi
%multilib_fix_c_header --file %{install_includedir}/lldb/Host/Config.h
# remove static libraries
# TODO(kkleine): We need to remove these static libaries but not so widely, remember we're build all of LLVM.
# rm -fv %{buildroot}%{_libdir}/*.a
rm -fv %{buildroot}%{_libdir}/liblldb*.a
# python: fix binary libraries location
liblldb=$(basename $(readlink -e %{buildroot}%{_libdir}/liblldb.so))
@ -295,6 +294,4 @@ ln -vsf "../../../${liblldb}" %{buildroot}%{python3_sitearch}/lldb/_lldb.so
# remove bundled six.py
rm -f %{buildroot}%{python3_sitearch}/six.*
%ldconfig_scriptlets
#endregion