summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2024-10-02 21:38:22 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2024-10-07 21:13:14 +0200
commite81c987a3b55cab388b89f647b807414648ad6b8 (patch)
tree07d1fb9be9a10a51bf9c1b1c17d30a9ef0eb5e4d
parentba22e312b82d48e1a0067e96b5f9d690cf92fc28 (diff)
downloadtde-packaging-e81c987a3b55cab388b89f647b807414648ad6b8.tar.gz
tde-packaging-e81c987a3b55cab388b89f647b807414648ad6b8.zip
RPM: re-add dependency to gcc-c++ (with condition)
Signed-off-by: François Andriot <albator78@libertysurf.fr>
-rw-r--r--redhat/dependencies/tqt3/tqt3.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/redhat/dependencies/tqt3/tqt3.spec b/redhat/dependencies/tqt3/tqt3.spec
index e1cbaba4c..3f67b809b 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