mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 17:34:47 +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
85ff72ec53
commit
07d391355a
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