packages: libxspf/libxspf.spec - BR: cpptest-devel (with bcond)

charles charles at pld-linux.org
Wed May 27 00:37:48 CEST 2009


Author: charles                      Date: Tue May 26 22:37:48 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- BR: cpptest-devel (with bcond)

---- Files affected:
packages/libxspf:
   libxspf.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: packages/libxspf/libxspf.spec
diff -u packages/libxspf/libxspf.spec:1.19 packages/libxspf/libxspf.spec:1.20
--- packages/libxspf/libxspf.spec:1.19	Fri Apr  3 15:31:28 2009
+++ packages/libxspf/libxspf.spec	Wed May 27 00:37:43 2009
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build
+%bcond_without  tests	# disable cpptest
+#
 Summary:	XSPF playlist reading and writing support
 Summary(pl.UTF-8):	Obsługa odczytu i zapisu playlist XSPF
 Name:		libxspf
@@ -12,6 +16,7 @@
 URL:		http://libspiff.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
+%{?with_tests:BuildRequires:	cpptest-devel >= 1.1.0}
 BuildRequires:	expat-devel >= 1:1.95.8
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool >= 2:1.5
@@ -67,7 +72,8 @@
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+	 %{!?with_tests:--disable-test}
 %{__make}
 
 %install
@@ -106,6 +112,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2009/05/26 22:37:43  charles
+- BR: cpptest-devel (with bcond)
+
 Revision 1.19  2009/04/03 13:31:28  lisu
 - O: libspiff, libspiff-devel, libspiff-static
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libxspf/libxspf.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list