SPECS: mysql.spec - tests bcond

arekm arekm at pld-linux.org
Tue Dec 18 20:10:12 CET 2007


Author: arekm                        Date: Tue Dec 18 19:10:12 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- tests bcond

---- Files affected:
SPECS:
   mysql.spec (1.393 -> 1.394) 

---- Diffs:

================================================================
Index: SPECS/mysql.spec
diff -u SPECS/mysql.spec:1.393 SPECS/mysql.spec:1.394
--- SPECS/mysql.spec:1.393	Sat Dec  8 23:46:26 2007
+++ SPECS/mysql.spec	Tue Dec 18 20:10:07 2007
@@ -20,6 +20,7 @@
 %bcond_without	tcpd		# libwrap (tcp_wrappers) support
 %bcond_with	autodeps	# BR packages needed only for resolving deps
 %bcond_with	sphinx		# Sphinx storage engine support
+%bcond_with	tests		# FIXME: don't run correctly
 #
 %include	/usr/lib/rpm/macros.perl
 Summary:	MySQL: a very fast and reliable SQL database engine
@@ -541,6 +542,8 @@
 
 %{__make} -C Docs mysql.info
 
+%{?with_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig,mysql} \
@@ -1033,6 +1036,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.394  2007-12-18 19:10:07  arekm
+- tests bcond
+
 Revision 1.393  2007-12-08 22:46:26  blues
 - rel.3 - build with federated storage engine
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mysql.spec?r1=1.393&r2=1.394&f=u



More information about the pld-cvs-commit mailing list