RPM Packaging: fix openldap 2.4 support on RHEL 5

pull/3/head
François Andriot 9 years ago
parent 5c97afc755
commit 50617fcbe9

@ -39,7 +39,7 @@ Name: trinity-%{tde_pkg}
Epoch: %{tde_epoch}
Version: 0.4.9.3.1
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Summary: an alternative to K-Menu for TDE [Trinity]
Summary: An alternative to K-Menu for TDE
Group: Applications/Utilities
URL: http://www.trinitydesktop.org/

@ -186,7 +186,7 @@ export PATH="%{tde_bindir}:${PATH}"
\
%if 0%{?rhel} == 5
--with-extra-includes=/usr/include/openldap24 \
--with-extra-libs=/usr/lib/openldap24 \
--with-extra-libs=%{_libdir}/openldap24 \
%endif
%__make %{?_smp_mflags}

@ -163,7 +163,7 @@ export PATH="%{tde_bindir}:${PATH}"
\
%if 0%{?rhel} == 5
--with-extra-includes=/usr/include/openldap24 \
--with-extra-libs=/usr/lib/openldap24 \
--with-extra-libs=%{_libdir}/openldap24 \
%endif
%__make %{?_smp_mflags}

@ -157,7 +157,7 @@ export PATH="%{tde_bindir}:${PATH}"
\
%if 0%{?rhel} == 5
--with-extra-includes=/usr/include/openldap24 \
--with-extra-libs=/usr/lib/openldap24 \
--with-extra-libs=%{_libdir}/openldap24 \
%endif
%__make %{?_smp_mflags}

@ -131,7 +131,7 @@ export PATH="%{tde_bindir}:${PATH}"
\
%if 0%{?rhel} == 5
--with-extra-includes=/usr/include/openldap24 \
--with-extra-libs=/usr/lib/openldap24 \
--with-extra-libs=%{_libdir}/openldap24 \
%endif
%__make %{?_smp_mflags}

@ -176,7 +176,7 @@ export PATH="%{tde_bindir}:${PATH}"
\
%if 0%{?rhel} == 5
--with-extra-includes=/usr/include/openldap24 \
--with-extra-libs=/usr/lib/openldap24 \
--with-extra-libs=%{_libdir}/openldap24 \
%endif
%__make %{?_smp_mflags}

Loading…
Cancel
Save