summaryrefslogtreecommitdiffstats
path: root/redhat/applications/misc/kcmldap/kcmldap.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/misc/kcmldap/kcmldap.spec')
-rw-r--r--redhat/applications/misc/kcmldap/kcmldap.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/redhat/applications/misc/kcmldap/kcmldap.spec b/redhat/applications/misc/kcmldap/kcmldap.spec
index b44904f44..f7d8695f2 100644
--- a/redhat/applications/misc/kcmldap/kcmldap.spec
+++ b/redhat/applications/misc/kcmldap/kcmldap.spec
@@ -100,7 +100,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
@@ -128,7 +128,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