summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kcmldapmanager/kcmldapmanager-14.0.0.spec
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2015-08-05 20:25:18 +0200
committerFrançois Andriot <[email protected]>2015-08-05 20:25:18 +0200
commit562049cd694f6dd0927b9880227fc4f6da008839 (patch)
treee939e442f1fb29ff29811ebc02f672ecf62a47c1 /redhat/applications/kcmldapmanager/kcmldapmanager-14.0.0.spec
parent6253ed4f8177cb33fef709fb7e215ff94e6300c1 (diff)
downloadtde-packaging-562049cd694f6dd0927b9880227fc4f6da008839.tar.gz
tde-packaging-562049cd694f6dd0927b9880227fc4f6da008839.zip
RPM Packaging: massive update
Diffstat (limited to 'redhat/applications/kcmldapmanager/kcmldapmanager-14.0.0.spec')
-rw-r--r--redhat/applications/kcmldapmanager/kcmldapmanager-14.0.0.spec12
1 files changed, 10 insertions, 2 deletions
diff --git a/redhat/applications/kcmldapmanager/kcmldapmanager-14.0.0.spec b/redhat/applications/kcmldapmanager/kcmldapmanager-14.0.0.spec
index b6e8f23a9..43eae8ac5 100644
--- a/redhat/applications/kcmldapmanager/kcmldapmanager-14.0.0.spec
+++ b/redhat/applications/kcmldapmanager/kcmldapmanager-14.0.0.spec
@@ -78,12 +78,15 @@ BuildRequires: brp-check-trinity
%endif
# OPENLDAP support
-%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: openldap-devel
%endif
%if 0%{?suse_version}
BuildRequires: openldap2-devel
%endif
+%if 0%{?rhel} == 5
+BuildRequires: openldap24-libs-devel
+%endif
Requires: trinity-kcontrol-ldap-manager = %{?epoch:%{epoch}:}%{version}-%{release}
@@ -150,7 +153,12 @@ export PATH="%{tde_bindir}:${PATH}"
--enable-final \
--enable-closure \
--enable-rpath \
- --disable-gcc-hidden-visibility
+ --disable-gcc-hidden-visibility \
+ \
+%if 0%{?rhel} == 5
+ --with-extra-includes=/usr/include/openldap24 \
+ --with-extra-libs=/usr/lib/openldap24 \
+%endif
%__make %{?_smp_mflags}