From 8698e680c9bcf5d6a6d8fc96bce8850c725f4ec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Wed, 2 Oct 2024 21:38:22 +0200 Subject: [PATCH] RPM: re-add dependency to gcc-c++ (with condition) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot --- redhat/dependencies/tqt3/tqt3.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/redhat/dependencies/tqt3/tqt3.spec b/redhat/dependencies/tqt3/tqt3.spec index 2d5182c7d..433832ae6 100644 --- a/redhat/dependencies/tqt3/tqt3.spec +++ b/redhat/dependencies/tqt3/tqt3.spec @@ -51,6 +51,9 @@ Source1: build-examples.sh Source2: trinity-tqt3-rpmlintrc BuildRequires: glibc-devel +%if "%{?c_compiler}" != "clang" +BuildRequires: gcc-c++ +%endif BuildRequires: make BuildRequires: desktop-file-utils