From dd8b35d6ee5402832ad4a6e69106e2e3d7905036 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 4 Jul 2024 16:29:05 -0400 Subject: [PATCH] Add subpackage llvm-toolset Based on c10s: https://gitlab.com/redhat/centos-stream/rpms/llvm/-/commit/7e18b11df169bfb70d735c0802d15ebbe2c0e349 --- llvm.spec | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/llvm.spec b/llvm.spec index c623200..729573d 100644 --- a/llvm.spec +++ b/llvm.spec @@ -235,6 +235,17 @@ Summary: LLVM's modified googletest sources %description googletest LLVM's modified googletest sources. +%if 0%{?rhel} +%package toolset +Summary: Package that installs llvm-toolset +Requires: clang = %{version} +Requires: llvm = %{version} +Requires: lld = %{version} + +%description toolset +This is the main package for llvm-toolset. +%endif + %prep %{gpgverify} --keyring='%{SOURCE6}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %{gpgverify} --keyring='%{SOURCE6}' --signature='%{SOURCE3}' --data='%{SOURCE2}' @@ -583,6 +594,11 @@ fi %{install_includedir}/llvm-gtest %{install_includedir}/llvm-gmock +%if 0%{?rhel} +%files toolset +%license LICENSE.TXT +%endif + %changelog * Tue May 28 2024 Nikita Popov - 18.1.6-2