Add subpackage llvm-toolset

Related: RHEL-45729
This commit is contained in:
Tulio Magno Quites Machado Filho 2024-07-02 09:39:32 -03:00 committed by Timm Bäder
parent d8be89d90c
commit 3c82b12f11
2 changed files with 20 additions and 0 deletions

View file

@ -601,6 +601,13 @@
#endregion #endregion
#region Toolset files
%if 0%{?rhel}
%files -n %{pkg_name_llvm}-toolset
%license LICENSE.TXT
%endif
#endregion
#region LLDB files #region LLDB files
%files -n %{pkg_name_lldb} %files -n %{pkg_name_lldb}
%license lldb/LICENSE.TXT %license lldb/LICENSE.TXT

View file

@ -292,6 +292,19 @@ Shared libraries for LLD.
#endregion #endregion
#region Toolset package
%if 0%{?rhel}
%package -n %{pkg_name_llvm}-toolset
Summary: Package that installs llvm-toolset
Requires: clang = %{version}
Requires: llvm = %{version}
Requires: lld = %{version}
%description -n %{pkg_name_llvm}-toolset
This is the main package for llvm-toolset.
%endif
#endregion
#region LLDB packages #region LLDB packages
%package -n %{pkg_name_lldb} %package -n %{pkg_name_lldb}