summaryrefslogtreecommitdiffstats
path: root/redhat/libraries/libtdeldap/libtdeldap.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/libraries/libtdeldap/libtdeldap.spec')
-rw-r--r--redhat/libraries/libtdeldap/libtdeldap.spec10
1 files changed, 7 insertions, 3 deletions
diff --git a/redhat/libraries/libtdeldap/libtdeldap.spec b/redhat/libraries/libtdeldap/libtdeldap.spec
index 80c14f13b..27d29f172 100644
--- a/redhat/libraries/libtdeldap/libtdeldap.spec
+++ b/redhat/libraries/libtdeldap/libtdeldap.spec
@@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
-%define tde_version 14.1.2
+%define tde_version 14.1.3
%endif
%define tde_pkg libtdeldap
%define tde_prefix /opt/trinity
@@ -78,7 +78,7 @@ BuildRequires: libtool-ltdl-devel
# SASL support
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?pclinuxos}
-%if 0%{?mdkver}
+%if 0%{?mdkver} >= 5000000
BuildRequires: %{_lib}sasl-devel
%else
BuildRequires: %{_lib}sasl2-devel
@@ -90,7 +90,7 @@ BuildRequires: cyrus-sasl-devel
# OPENLDAP support
%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
-%if 0%{?mdkver}
+%if 0%{?mdkver} >= 5000000
BuildRequires: lib64ldap-devel
%else
BuildRequires: openldap-devel
@@ -115,7 +115,11 @@ BuildRequires: libheimdal-devel
%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6
%define with_tdehwlib 1
%if 0%{?mdkversion} || 0%{?mgaversion}
+%if 0%{?pclinuxos}
+BuildRequires: %{_lib}udev1-devel
+%else
BuildRequires: %{_lib}udev-devel
+%endif
%else
BuildRequires: libudev-devel
%endif