diff options
Diffstat (limited to 'redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec')
-rw-r--r-- | redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec b/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec index b23cff166..4c37c61ee 100644 --- a/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec +++ b/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec @@ -93,6 +93,11 @@ BuildRequires: openldap2-devel BuildRequires: openldap24-libs-devel %endif +# HEIMDAL support +%if %{?rhel} == 7 +BuildRequires: heimdal-devel +%endif + %description LDAP interface library for TDE management modules. @@ -170,9 +175,13 @@ export PATH="%{tde_bindir}:${PATH}" --disable-gcc-hidden-visibility \ \ %if 0%{?rhel} == 5 - --with-extra-includes=/usr/include/openldap24 \ + --with-extra-includes=%{_includedir}/openldap24 \ --with-extra-libs=%{_libdir}/openldap24 \ %endif +%if 0%{?rhel} == 7 + --with-extra-includes=%{_includedir}/heimdal \ + --with-extra-libs=%{_libdir}/heimdal \ +%endif %__make %{?_smp_mflags} @@ -187,6 +196,4 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} -%Changelog -* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 20.5-1 -- Initial release for TDE 14.0.0 +%changelog |