summaryrefslogtreecommitdiffstats
path: root/redhat/tdeaddons/tdeaddons-3.5.13.2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/tdeaddons/tdeaddons-3.5.13.2.spec')
-rw-r--r--redhat/tdeaddons/tdeaddons-3.5.13.2.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/redhat/tdeaddons/tdeaddons-3.5.13.2.spec b/redhat/tdeaddons/tdeaddons-3.5.13.2.spec
index b45ca3e93..1d08e43e6 100644
--- a/redhat/tdeaddons/tdeaddons-3.5.13.2.spec
+++ b/redhat/tdeaddons/tdeaddons-3.5.13.2.spec
@@ -59,8 +59,12 @@ BuildRequires: openssl-devel
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1220 || 0%{?mdkversion} || 0%{?mgaversion}
%define with_db 1
%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?pclinuxos}
+BuildRequires: db4-devel
+%else
BuildRequires: db5-devel
%endif
+%endif
%if 0%{?fedora} >= 18
BuildRequires: libdb-devel
BuildRequires: libdb-cxx-devel