[packages/heimdal] fix building without ldap
baggins
baggins at pld-linux.org
Wed Sep 5 00:13:56 CEST 2012
commit 1c4afd365c1e2804c44eb6aa2c38d268557c8d76
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Sep 5 00:13:23 2012 +0200
fix building without ldap
heimdal.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/heimdal.spec b/heimdal.spec
index 1921714..7f0bdcf 100644
--- a/heimdal.spec
+++ b/heimdal.spec
@@ -499,8 +499,10 @@ install -p lib/krb5/kcm.h $RPM_BUILD_ROOT%{_includedir}/kcm
# just a test plugin
%{__rm} $RPM_BUILD_ROOT%{_libdir}/windc.*
+%if %{with ldap}
# not needed for plugin
%{__rm} $RPM_BUILD_ROOT%{_libdir}/hdb_ldap.{la,a}
+%endif
# resolve heimdal-libs/krb5-libs conflict
%{__mv} $RPM_BUILD_ROOT%{_mandir}/man5/{krb5.conf.5,krb5.conf.5h}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/heimdal.git/commitdiff/142f01513fab4472610b02305b816fb373100ab3
More information about the pld-cvs-commit
mailing list