From 6263ba04810729b825eaa7752872227aeb3e701e Mon Sep 17 00:00:00 2001 From: Vitaly Chikunov Date: Mon, 3 Jun 2024 10:39:25 +0300 Subject: [PATCH] spec: BR:ctest only for %check section Signed-off-by: Vitaly Chikunov --- .gear/llama.cpp.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gear/llama.cpp.spec b/.gear/llama.cpp.spec index fe52f5fa5..5a00cb58d 100644 --- a/.gear/llama.cpp.spec +++ b/.gear/llama.cpp.spec @@ -24,10 +24,12 @@ Requires: python3(struct) BuildRequires(pre): rpm-macros-cmake BuildRequires: cmake -BuildRequires: ctest BuildRequires: gcc-c++ BuildRequires: libcurl-devel BuildRequires: libopenblas-devel +%{?!_without_check:%{?!_disable_check: +BuildRequires: ctest +}} %description Plain C/C++ implementation (of inference of LLaMA model) without