Skip to content

Commit 543b887

Browse files
committed
1 parent 8fa6bd7 commit 543b887

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm.spec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,7 @@ Requires(post): %{_sbindir}/update-alternatives
631631
Requires(preun): %{_sbindir}/update-alternatives
632632

633633
Requires: %{pkg_name_lld}-libs = %{version}-%{release}
634+
Provides: lld(major) = %{maj_ver}
634635

635636
%description -n %{pkg_name_lld}
636637
The LLVM project linker.
@@ -1176,7 +1177,7 @@ rm -Rf %{buildroot}%{install_libdir}/{libear,libscanbuild}
11761177
rm -Rf %{buildroot}%{install_datadir}/clang/*.el
11771178

11781179
# Add clang++-{version} symlink
1179-
ln -s ../../%{install_bindir}/clang++ %{buildroot}%{install_bindir}/clang++-%{maj_ver}
1180+
ln -s clang++ %{buildroot}%{install_bindir}/clang++-%{maj_ver}
11801181

11811182
%endif
11821183

0 commit comments

Comments
 (0)