]> git.pld-linux.org Git - packages/perl-DBD-mysql.git/blobdiff - perl-DBD-mysql.spec
- version 2.1019, release 1
[packages/perl-DBD-mysql.git] / perl-DBD-mysql.spec
index 325ab586500711dde2a69f30bbb00ee2f3f5575e..1d5a12a8e0c6cd04401b1e408c8c2ccd78067dbe 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+# _with_tests - perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define                pdir    DBD
 %define                pnam    mysql
@@ -18,8 +22,8 @@ Summary(sv):  Ett gr
 Summary(uk):   Perl-¦ÎÔÅÒÆÅÊÓ ÄÏ MySQL
 Summary(zh_CN):        Perl µÄ MySQL ½çÃæ¡£
 Name:          perl-DBD-mysql
-Version:       2.1017
-Release:       4
+Version:       2.1019
+Release:       1
 License:       GPL/Artistic
 Group:         Development/Languages/Perl
 Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
@@ -109,9 +113,11 @@ M(y)sql.pm 
 
 %build
 perl Makefile.PL
-
 %{__make} OPTIMIZE="%{rpmcflags}"
 
+# tests require access to a working mysql
+%{?_with_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.306099 seconds and 4 git commands to generate.