From 898a06a2c305d965e59497700528f10a4c19c2d3 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 14 Mar 2023 20:17:53 +0000 Subject: [PATCH] Add llvm-googletest dependency to llvm-devel The llvm-devel CMake files now reference binaries in llvm-googletest. --- llvm.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/llvm.spec b/llvm.spec index f901d94..66cf857 100644 --- a/llvm.spec +++ b/llvm.spec @@ -160,14 +160,15 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release} # app that requires the libLLVMLineEditor, so we need to make sure # libedit-devel is available. Requires: libedit-devel -# The installed cmake files reference binaries from llvm-test and llvm-static. -# We tried in the past to split the cmake exports for these binaries out into -# separate files, so that llvm-devel would not need to Require these packages, +# The installed cmake files reference binaries from llvm-test, llvm-static, and +# llvm-gtest. We tried in the past to split the cmake exports for these binaries +# out into separate files, so that llvm-devel would not need to Require these packages, # but this caused bugs (rhbz#1773678) and forced us to carry two non-upstream # patches. Requires: %{name}-static%{?_isa} = %{version}-%{release} %if %{without compat_build} Requires: %{name}-test%{?_isa} = %{version}-%{release} +Requires: %{name}-googletest%{?_isa} = %{version}-%{release} %endif