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
parent 0b4a620d6d
commit 3f1eb51952

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