Use wildcard for libclang_rt libraries

https://github.com/llvm/llvm-project/pull/92456 added a new
libclang_rt.ctx_profile.a library.

Given that these all have a fixed prefix, I think it's fine to
use a wildcard for them instead of explicitly listing them.
This commit is contained in:
Nikita Popov 2024-05-20 06:49:48 +02:00 committed by Timm Bäder
parent 7f11df8554
commit 9dcea4c065

View file

@ -522,73 +522,10 @@
# Files that appear both in x86_64 and i686
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/clang_rt.crtbegin.o
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/clang_rt.crtend.o
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.asan.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.asan_cxx.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.asan-preinit.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.asan.so
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.asan_static.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.builtins.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.cfi.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.cfi_diag.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.fuzzer.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.fuzzer_interceptors.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.fuzzer_no_main.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.gwp_asan.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.lsan.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.profile.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.safestack.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.scudo_standalone.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.scudo_standalone_cxx.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.scudo_standalone.so
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.stats.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.stats_client.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.ubsan_minimal.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.ubsan_minimal.so
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.ubsan_standalone.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.ubsan_standalone_cxx.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.ubsan_standalone.so
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.*
# Files that don't appear in i686
%ifnarch %{ix86}
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.asan.a.syms
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.asan_cxx.a.syms
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.dd.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.dfsan.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.dfsan.a.syms
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.dyndd.so
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.hwasan.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.hwasan_aliases.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.hwasan_aliases.a.syms
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.hwasan_aliases_cxx.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.hwasan_aliases_cxx.a.syms
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.hwasan_aliases.so
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.hwasan.a.syms
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.hwasan_cxx.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.hwasan_cxx.a.syms
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.hwasan-preinit.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.hwasan.so
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.memprof.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.memprof.a.syms
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.memprof_cxx.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.memprof_cxx.a.syms
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.memprof-preinit.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.memprof.so
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.msan.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.msan.a.syms
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.msan_cxx.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.msan_cxx.a.syms
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.tsan.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.tsan.a.syms
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.tsan_cxx.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.tsan_cxx.a.syms
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.tsan.so
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.ubsan_minimal.a.syms
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.ubsan_standalone.a.syms
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.ubsan_standalone_cxx.a.syms
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.xray.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.xray-basic.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.xray-fdr.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/libclang_rt.xray-profiling.a
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/liborc_rt.a
%endif