packages: libdap/libdap.spec - added tests bcond (disabled by default)

sls sls at pld-linux.org
Tue Nov 9 21:38:45 CET 2010


Author: sls                          Date: Tue Nov  9 20:38:45 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added tests bcond (disabled by default)

---- Files affected:
packages/libdap:
   libdap.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: packages/libdap/libdap.spec
diff -u packages/libdap/libdap.spec:1.12 packages/libdap/libdap.spec:1.13
--- packages/libdap/libdap.spec:1.12	Sun Oct 10 08:01:06 2010
+++ packages/libdap/libdap.spec	Tue Nov  9 21:38:40 2010
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	tests		# perform tests
+#
 Summary:	OPeNDAP C++ implementation of the Data Access Protocol
 Summary(pl.UTF-8):	OPeNDAP - implementacja w C++ protokołu DAP (Data Access Protocol)
 Name:		libdap
@@ -11,7 +15,7 @@
 URL:		http://opendap.org/
 BuildRequires:	autoconf >= 2.61
 BuildRequires:	automake
-BuildRequires:	cppunit-devel >= 1.12.0
+%{?with_tests:BuildRequires:	cppunit-devel >= 1.12.0}
 BuildRequires:	curl-devel >= 7.12.0
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool >= 2:1.5
@@ -87,6 +91,8 @@
 %configure
 %{__make}
 
+%{?with_tests:%{__make} check}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -138,6 +144,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2010/11/09 20:38:40  sls
+- added tests bcond (disabled by default)
+
 Revision 1.12  2010/10/10 06:01:06  qboosh
 - updated to 3.11.0
 - removed obsolete gcc4 patch
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libdap/libdap.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list