SPECS: perl-DBD-Pg.spec - by default disable tests involving local...

qboosh qboosh at pld-linux.org
Tue Feb 26 21:15:57 CET 2008


Author: qboosh                       Date: Tue Feb 26 20:15:57 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- by default disable tests involving local database

---- Files affected:
SPECS:
   perl-DBD-Pg.spec (1.56 -> 1.57) 

---- Diffs:

================================================================
Index: SPECS/perl-DBD-Pg.spec
diff -u SPECS/perl-DBD-Pg.spec:1.56 SPECS/perl-DBD-Pg.spec:1.57
--- SPECS/perl-DBD-Pg.spec:1.56	Wed Feb 13 00:20:03 2008
+++ SPECS/perl-DBD-Pg.spec	Tue Feb 26 21:15:52 2008
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_without	tests	# Do not perform "make test"
+%bcond_with	dbtests	# perform tests using local PostgreSQL installation
 #
 %include	/usr/lib/rpm/macros.perl
 %define		pdir	DBD
@@ -110,7 +111,7 @@
 
 # skip SIGNATURE test (uses network to get PGP key)
 rm SIGNATURE
-%{?with_tests:%{__make} test}
+%{?with_tests:%{__make} test %{!?with_dbtests:DBI_DSN=NOWAY}}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -124,11 +125,11 @@
 %files
 %defattr(644,root,root,755)
 %doc Changes README
-%{perl_vendorarch}/DBD/*
+%{perl_vendorarch}/DBD/Pg.pm
 %dir %{perl_vendorarch}/auto/DBD/Pg
 %{perl_vendorarch}/auto/DBD/Pg/Pg.bs
 %attr(755,root,root) %{perl_vendorarch}/auto/DBD/Pg/Pg.so
-%{_mandir}/man[13]/*
+%{_mandir}/man3/DBD::Pg.3pm*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -136,6 +137,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.57  2008-02-26 20:15:52  qboosh
+- by default disable tests involving local database
+
 Revision 1.56  2008-02-12 23:20:03  qboosh
 - generic URL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/perl-DBD-Pg.spec?r1=1.56&r2=1.57&f=u



More information about the pld-cvs-commit mailing list