Only put libLLVM*.a into llvm-static

Currently we also accidentally ship libomptarget.devicertl.a.
This commit is contained in:
Nikita Popov 2024-07-03 11:28:50 +02:00 committed by Timm Bäder
parent abc6958daf
commit c0d6e6d162

View file

@ -281,11 +281,9 @@
%files -n %{pkg_name_llvm}-static %files -n %{pkg_name_llvm}-static
%license llvm/LICENSE.TXT %license llvm/LICENSE.TXT
%{install_libdir}/*.a %{install_libdir}/libLLVM*.a
%exclude %{install_libdir}/libLLVMTestingSupport.a %exclude %{install_libdir}/libLLVMTestingSupport.a
%exclude %{install_libdir}/libLLVMTestingAnnotations.a %exclude %{install_libdir}/libLLVMTestingAnnotations.a
%exclude %{install_libdir}/libllvm_gtest.a
%exclude %{install_libdir}/libllvm_gtest_main.a
%files -n %{pkg_name_llvm}-cmake-utils %files -n %{pkg_name_llvm}-cmake-utils
%license llvm/LICENSE.TXT %license llvm/LICENSE.TXT