SPECS: libusb.spec - oops, tests won't work proper in chroot. bcon...

pluto pluto at pld-linux.org
Sun Jan 22 20:06:59 CET 2006


Author: pluto                        Date: Sun Jan 22 19:06:59 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- oops, tests won't work proper in chroot. bcond added.

---- Files affected:
SPECS:
   libusb.spec (1.29 -> 1.30) 

---- Diffs:

================================================================
Index: SPECS/libusb.spec
diff -u SPECS/libusb.spec:1.29 SPECS/libusb.spec:1.30
--- SPECS/libusb.spec:1.29	Sun Jan 22 19:58:57 2006
+++ SPECS/libusb.spec	Sun Jan 22 20:06:54 2006
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_without	doc	# don't build documentation
+%bcond_with	tests	# perform "make check"
 #
 Summary:	Application access to USB devices
 Summary(es):	libusb - Biblioteca USB
@@ -9,7 +10,7 @@
 Summary(pt_BR):	libusb - Biblioteca para acesso a devices USB
 Name:		libusb
 Version:	0.1.11
-Release:	1
+Release:	2
 License:	LGPL
 Group:		Libraries
 Source0:	http://dl.sourceforge.net/libusb/%{name}-%{version}.tar.gz
@@ -135,7 +136,7 @@
 %{__automake}
 %configure
 %{__make}
-%{__make} check
+%{?with_tests:%{__make} check}
 
 %{?with_doc:doxygen}
 
@@ -192,6 +193,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.30  2006/01/22 19:06:54  pluto
+- oops, tests won't work proper in chroot. bcond added.
+
 Revision 1.29  2006/01/22 18:58:57  pluto
 - updated to 0.1.11.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libusb.spec?r1=1.29&r2=1.30&f=u



More information about the pld-cvs-commit mailing list