SPECS: postgresql.spec - without_ldap bcond

jajcus jajcus at pld-linux.org
Thu Feb 19 10:37:25 CET 2009


Author: jajcus                       Date: Thu Feb 19 09:37:25 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- without_ldap bcond

---- Files affected:
SPECS:
   postgresql.spec (1.412 -> 1.413) 

---- Diffs:

================================================================
Index: SPECS/postgresql.spec
diff -u SPECS/postgresql.spec:1.412 SPECS/postgresql.spec:1.413
--- SPECS/postgresql.spec:1.412	Tue Feb 10 15:46:30 2009
+++ SPECS/postgresql.spec	Thu Feb 19 10:37:20 2009
@@ -6,6 +6,7 @@
 %bcond_without	kerberos5		# disable kerberos5 support
 %bcond_without	perl			# disable Perl support
 %bcond_without	python			# disable Python support
+%bcond_without	ldap			# disable LDAP support
 %bcond_with	absolute_dbpaths	# enable absolute paths to create database
 					# (disabled by default because it is a security risk)
 #
@@ -48,7 +49,7 @@
 BuildRequires:	libxml2-devel >= 2.6.23
 BuildRequires:	libxslt-devel
 BuildRequires:	ncurses-devel >= 5.0
-BuildRequires:	openldap-devel
+%{?with_ldap:BuildRequires:	openldap-devel}
 BuildRequires:	openssl-devel >= 0.9.7d
 BuildRequires:	pam-devel
 %{?with_perl:BuildRequires:	perl-devel}
@@ -784,7 +785,7 @@
 	--enable-nls \
 	--enable-thread-safety \
 	%{?with_kerberos5:--with-krb5} \
-	--with-ldap \
+	%{?with_ldap:---with-ldap} \
 	--with-openssl \
 	--with-pam \
 	--with-libxml \
@@ -1171,6 +1172,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.413  2009/02/19 09:37:20  jajcus
+- without_ldap bcond
+
 Revision 1.412  2009/02/10 14:46:30  radek
 - version 8.3.6
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/postgresql.spec?r1=1.412&r2=1.413&f=u



More information about the pld-cvs-commit mailing list