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