Avoid duplicate llvm-config files

This commit is contained in:
Nikita Popov 2024-08-01 09:08:14 +00:00 committed by Timm Bäder
parent f18108da40
commit a9bfa39083

View file

@ -275,16 +275,18 @@
%files -n %{pkg_name_llvm}-devel %files -n %{pkg_name_llvm}-devel
%license llvm/LICENSE.TXT %license llvm/LICENSE.TXT
%ghost %{_bindir}/llvm-config%{exec_suffix} %if %{without compat_build}
%{install_bindir}/llvm-config%{exec_suffix}-%{__isa_bits} %ghost %{_bindir}/llvm-config
%{_mandir}/man1/llvm-config* %{install_bindir}/llvm-config-%{__isa_bits}
%endif
%ghost %{_bindir}/llvm-config-%{maj_ver}
%{install_bindir}/llvm-config-%{maj_ver}-%{__isa_bits}
%{_mandir}/man1/llvm-config*
%{install_includedir}/llvm %{install_includedir}/llvm
%{install_includedir}/llvm-c %{install_includedir}/llvm-c
%{install_libdir}/libLLVM.so %{install_libdir}/libLLVM.so
%{install_libdir}/cmake/llvm %{install_libdir}/cmake/llvm
%{install_bindir}/llvm-config-%{maj_ver}-%{__isa_bits}
%ghost %{_bindir}/llvm-config-%{maj_ver}
%files -n %{pkg_name_llvm}-doc %files -n %{pkg_name_llvm}-doc
%license llvm/LICENSE.TXT %license llvm/LICENSE.TXT