]> git.pld-linux.org Git - packages/perl-DBD-mysql.git/commitdiff
- version 2.1019, release 1 RA-1_0 perl-DBD-mysql-2_1019-1
authorankry <ankry@pld-linux.org>
Thu, 26 Sep 2002 15:03:03 +0000 (15:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added tests on bcond (disbled by default)

Changed files:
    perl-DBD-mysql.spec -> 1.11

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.047846 seconds and 4 git commands to generate.