summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies
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-02 21:38:42 +0200
commit8698e680c9bcf5d6a6d8fc96bce8850c725f4ec3 (patch)
treec09a9e1716278e796d31a5218464c0b431fd1db1 /redhat/dependencies
parent1144adb7f126cbd2f94b534402fc7bcd80aa18f6 (diff)
downloadtde-packaging-8698e680c9bcf5d6a6d8fc96bce8850c725f4ec3.tar.gz
tde-packaging-8698e680c9bcf5d6a6d8fc96bce8850c725f4ec3.zip
RPM: re-add dependency to gcc-c++ (with condition)
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/dependencies')
-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 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