summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kopete-otr/kopete-otr-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/kopete-otr/kopete-otr-14.0.0.spec')
-rw-r--r--redhat/applications/kopete-otr/kopete-otr-14.0.0.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/redhat/applications/kopete-otr/kopete-otr-14.0.0.spec b/redhat/applications/kopete-otr/kopete-otr-14.0.0.spec
index 4f58698e2..602ab32c3 100644
--- a/redhat/applications/kopete-otr/kopete-otr-14.0.0.spec
+++ b/redhat/applications/kopete-otr/kopete-otr-14.0.0.spec
@@ -33,9 +33,10 @@
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity
-# Required for Mageia 2: removes the ldflag '--no-undefined'
+# Required for Mageia 6: removes the ldflag '--no-undefined'
+%if 0%{?mgaversion} >= 6 || 0%{?pclinuxos} >= 2018
%define _disable_ld_no_undefined 1
-
+%endif
Name: trinity-%{tde_pkg}
Epoch: %{tde_epoch}