Add lld-devel(major) provides

When building ROCm components, we need to pull in specific llvm and
lld devel package versions. This add lld-devel(major) in the style
of llvm-devel(major), as they can be used as a build requires.
This commit is contained in:
Jeremy Newton 2023-12-18 16:15:55 -05:00
parent 67073cc385
commit b144d368f2

View File

@ -47,7 +47,7 @@
Name: %{pkg_name}
Version: %{lld_version}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}}
Release: 1%{?dist}
Release: 2%{?dist}
Summary: The LLVM Linker
License: Apache-2.0 WITH LLVM-exception OR NCSA
@ -104,6 +104,7 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
# dependency.
Requires: %{name}%{?_isa} = %{version}-%{release}
%endif
Provides: %{name}-devel(major) = %{maj_ver}
%description devel
This package contains library and header files needed to develop new native
@ -219,6 +220,9 @@ fi
%changelog
%{?llvm_snapshot_changelog_entry}
* Mon Dec 18 2023 Jeremy Newton <alexjnewt at hotmail dot com> - 17.0.6-2
- Add lld-devel(major) provides
* Wed Nov 29 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.6-1
- Update to LLVM 17.0.6