Avoid listing files twice

This should solve this warning:

```
RPM build warnings:
    File listed twice: /usr/lib64/cmake/clang/AddClang.cmake
    File listed twice: /usr/lib64/cmake/clang/ClangConfig.cmake
    File listed twice: /usr/lib64/cmake/clang/ClangConfigVersion.cmake
    File listed twice:
/usr/lib64/cmake/clang/ClangTargets-relwithdebinfo.cmake
    File listed twice: /usr/lib64/cmake/clang/ClangTargets.cmake
    absolute symlink: /usr/bin/clang-format-diff ->
/usr/share/clang/clang-format-diff.py
    File listed twice:
/usr/lib/clang/19/include/fuzzer/FuzzedDataProvider.h
    File listed twice: /usr/lib/clang/19/include/orc/c_api.h
    File listed twice:
/usr/lib/clang/19/include/profile/InstrProfData.inc
    File listed twice:
/usr/lib/clang/19/include/profile/instr_prof_interface.h
    File listed twice:
/usr/lib/clang/19/include/sanitizer/allocator_interface.h
    File listed twice:
/usr/lib/clang/19/include/sanitizer/asan_interface.h
    File listed twice:
/usr/lib/clang/19/include/sanitizer/common_interface_defs.h
    File listed twice:
/usr/lib/clang/19/include/sanitizer/coverage_interface.h
    File listed twice:
/usr/lib/clang/19/include/sanitizer/dfsan_interface.h
    File listed twice:
/usr/lib/clang/19/include/sanitizer/hwasan_interface.h
    File listed twice:
/usr/lib/clang/19/include/sanitizer/linux_syscall_hooks.h
    File listed twice:
/usr/lib/clang/19/include/sanitizer/lsan_interface.h
    File listed twice:
/usr/lib/clang/19/include/sanitizer/memprof_interface.h
    File listed twice:
/usr/lib/clang/19/include/sanitizer/msan_interface.h
    File listed twice:
/usr/lib/clang/19/include/sanitizer/netbsd_syscall_hooks.h
    File listed twice:
/usr/lib/clang/19/include/sanitizer/scudo_interface.h
    File listed twice:
/usr/lib/clang/19/include/sanitizer/tsan_interface.h
    File listed twice:
/usr/lib/clang/19/include/sanitizer/tsan_interface_atomic.h
    File listed twice:
/usr/lib/clang/19/include/sanitizer/ubsan_interface.h
    File listed twice: /usr/lib/clang/19/include/xray/xray_interface.h
    File listed twice:
/usr/lib/clang/19/include/xray/xray_log_interface.h
    File listed twice: /usr/lib/clang/19/include/xray/xray_records.h
    File listed twice: /usr/lib/clang/19/share/asan_ignorelist.txt
    File listed twice: /usr/lib/clang/19/share/cfi_ignorelist.txt
```
This commit is contained in:
Konrad Kleine 2024-05-16 14:03:37 +00:00 committed by Timm Bäder
parent 34c048f35a
commit 175bb38072

View file

@ -509,19 +509,12 @@
%{_prefix}/lib/clang/%{maj_ver}/bin/hwasan_symbolize %{_prefix}/lib/clang/%{maj_ver}/bin/hwasan_symbolize
%endif %endif
%{_prefix}/lib/clang/%{maj_ver}/include/fuzzer %{_prefix}/lib/clang/%{maj_ver}/include/fuzzer
%{_prefix}/lib/clang/%{maj_ver}/include/fuzzer/*
%{_prefix}/lib/clang/%{maj_ver}/include/orc %{_prefix}/lib/clang/%{maj_ver}/include/orc
%{_prefix}/lib/clang/%{maj_ver}/include/orc/*
%{_prefix}/lib/clang/%{maj_ver}/include/profile %{_prefix}/lib/clang/%{maj_ver}/include/profile
%{_prefix}/lib/clang/%{maj_ver}/include/profile/*
%{_prefix}/lib/clang/%{maj_ver}/include/sanitizer %{_prefix}/lib/clang/%{maj_ver}/include/sanitizer
%{_prefix}/lib/clang/%{maj_ver}/include/sanitizer/*
%{_prefix}/lib/clang/%{maj_ver}/include/xray %{_prefix}/lib/clang/%{maj_ver}/include/xray
%{_prefix}/lib/clang/%{maj_ver}/include/xray/*
%{_prefix}/lib/clang/%{maj_ver}/share/asan_ignorelist.txt %{_prefix}/lib/clang/%{maj_ver}/share/asan_ignorelist.txt
%{_prefix}/lib/clang/%{maj_ver}/share/asan_ignorelist.txt
%{_prefix}/lib/clang/%{maj_ver}/share/cfi_ignorelist.txt
%{_prefix}/lib/clang/%{maj_ver}/share/cfi_ignorelist.txt %{_prefix}/lib/clang/%{maj_ver}/share/cfi_ignorelist.txt
%{_prefix}/lib/clang/%{maj_ver}/share/dfsan_abilist.txt %{_prefix}/lib/clang/%{maj_ver}/share/dfsan_abilist.txt
%{_prefix}/lib/clang/%{maj_ver}/share/hwasan_ignorelist.txt %{_prefix}/lib/clang/%{maj_ver}/share/hwasan_ignorelist.txt