SPECS: bind.spec - bcond without sql

areq areq at pld-linux.org
Sat Jun 16 21:26:49 CEST 2007


Author: areq                         Date: Sat Jun 16 19:26:49 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- bcond without sql

---- Files affected:
SPECS:
   bind.spec (1.256 -> 1.257) 

---- Diffs:

================================================================
Index: SPECS/bind.spec
diff -u SPECS/bind.spec:1.256 SPECS/bind.spec:1.257
--- SPECS/bind.spec:1.256	Sat Jun  9 14:49:27 2007
+++ SPECS/bind.spec	Sat Jun 16 21:26:44 2007
@@ -6,6 +6,7 @@
 %bcond_without	ssl		# build without OpenSSL support
 %bcond_without	ipv6		# build without IPv6 support
 %bcond_without	ldap		# build without LDAP support
+%bcond_without	sql		# build without SQL support
 %bcond_without	static_libs	# build without static libraries
 %bcond_without	tests		# perform tests
 %bcond_with	hip		# build with HIP RR support
@@ -59,8 +60,8 @@
 BuildRequires:	libtool
 %{?with_ldap:BuildRequires:	openldap-devel}
 %{?with_ssl:BuildRequires:	openssl-devel >= 0.9.7d}
-BuildRequires:	mysql-devel
-BuildRequires:	postgresql-devel
+%{?with_sql:BuildRequires:	mysql-devel}
+%{?with_sql:BuildRequires:	postgresql-devel}
 BuildRequires:	unixODBC-devel
 BuildRequires:	rpmbuild(macros) >= 1.268
 Requires(post,preun):	/sbin/chkconfig
@@ -359,8 +360,8 @@
 	%{?with_ssl:--with-openssl=%{_prefix}} \
 	%{?with_ipv6:--enable-ipv6} \
 	--enable-libbind \
-	--with-dlz-postgres=yes \
-	--with-dlz-mysql=yes \
+	%{?with_sql:--with-dlz-postgres=yes} \
+	%{?with_sql:--with-dlz-mysql=yes} \
 	--with-dlz-bdb=no \
 	--with-dlz-filesystem=yes \
 	%{?with_ldap:--with-dlz-ldap=yes} \
@@ -539,6 +540,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.257  2007/06/16 19:26:44  areq
+- bcond without sql
+
 Revision 1.256  2007/06/09 12:49:27  arekm
 - rel 5; modprobe capability in init script
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/bind.spec?r1=1.256&r2=1.257&f=u



More information about the pld-cvs-commit mailing list