mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 09:32:42 +00:00
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:
parent
8fa6bd72a1
commit
543b887fe7
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue