summaryrefslogtreecommitdiffstats
path: root/redhat/applications/misc/kcmldapcontroller/kcmldapcontroller.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/misc/kcmldapcontroller/kcmldapcontroller.spec')
-rw-r--r--redhat/applications/misc/kcmldapcontroller/kcmldapcontroller.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/redhat/applications/misc/kcmldapcontroller/kcmldapcontroller.spec b/redhat/applications/misc/kcmldapcontroller/kcmldapcontroller.spec
index cacb6565a..d6de3ddc9 100644
--- a/redhat/applications/misc/kcmldapcontroller/kcmldapcontroller.spec
+++ b/redhat/applications/misc/kcmldapcontroller/kcmldapcontroller.spec
@@ -18,7 +18,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 kcmldapcontroller
%define tde_prefix /opt/trinity
@@ -79,7 +79,7 @@ BuildRequires: brp-check-trinity
# 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
@@ -110,7 +110,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
@@ -163,9 +167,11 @@ This is a TDE control center module to manage users, groups, and machines in Ker
%doc AUTHORS COPYING
%{tde_bindir}/primaryrccertupdater
%if 0%{?fedora} || 0%{?mdkver} || 0%{?mgaversion} || 0%{?rhel} >= 7
+%if 0%{?pclinuxos} == 0
%{tde_libdir}/slapi-acl-manager.la
%{tde_libdir}/slapi-acl-manager.so
%endif
+%endif
%{tde_tdelibdir}/kcm_ldapcontroller.la
%{tde_tdelibdir}/kcm_ldapcontroller.so
%{tde_tdeappdir}/ldapcontroller.desktop