Explicitly list lld libraries

Otherwise we end up shipping liblldb.so and liblldbIntelFeatures.so
as part of lld-libs/lld-devel.
This commit is contained in:
Nikita Popov 2024-07-18 15:10:31 +02:00 committed by nikic
parent 110c51ea41
commit ad51683670

View file

@ -594,12 +594,22 @@
%files -n %{pkg_name_lld}-devel %files -n %{pkg_name_lld}-devel
%license lld/LICENSE.TXT %license lld/LICENSE.TXT
%{install_includedir}/lld %{install_includedir}/lld
%{install_libdir}/liblld*.so %{install_libdir}/liblldCOFF.so
%{install_libdir}/liblldCommon.so
%{install_libdir}/liblldELF.so
%{install_libdir}/liblldMachO.so
%{install_libdir}/liblldMinGW.so
%{install_libdir}/liblldWasm.so
%{install_libdir}/cmake/lld/ %{install_libdir}/cmake/lld/
%files -n %{pkg_name_lld}-libs %files -n %{pkg_name_lld}-libs
%license lld/LICENSE.TXT %license lld/LICENSE.TXT
%{install_libdir}/liblld*.so.* %{install_libdir}/liblldCOFF.so.*
%{install_libdir}/liblldCommon.so.*
%{install_libdir}/liblldELF.so.*
%{install_libdir}/liblldMachO.so.*
%{install_libdir}/liblldMinGW.so.*
%{install_libdir}/liblldWasm.so.*
#endregion #endregion