Port a few changes from the llvm 18 compat packages

https://src.fedoraproject.org/rpms/lld18/pull-request/2
https://src.fedoraproject.org/rpms/clang18/pull-request/5
This commit is contained in:
Timm Bäder 2024-10-10 09:06:28 +02:00
parent 85ff72ec53
commit 07d391355a

View file

@ -631,6 +631,7 @@ Requires(post): %{_sbindir}/update-alternatives
Requires(preun): %{_sbindir}/update-alternatives Requires(preun): %{_sbindir}/update-alternatives
Requires: %{pkg_name_lld}-libs = %{version}-%{release} Requires: %{pkg_name_lld}-libs = %{version}-%{release}
Provides: lld(major) = %{maj_ver}
%description -n %{pkg_name_lld} %description -n %{pkg_name_lld}
The LLVM project linker. The LLVM project linker.
@ -1176,7 +1177,7 @@ rm -Rf %{buildroot}%{install_libdir}/{libear,libscanbuild}
rm -Rf %{buildroot}%{install_datadir}/clang/*.el rm -Rf %{buildroot}%{install_datadir}/clang/*.el
# Add clang++-{version} symlink # Add clang++-{version} symlink
ln -s ../../%{install_bindir}/clang++ %{buildroot}%{install_bindir}/clang++-%{maj_ver} ln -s clang++ %{buildroot}%{install_bindir}/clang++-%{maj_ver}
%endif %endif