[perl-Module-Manifest/el6] Run the release tests too

Paul Howarth pghmcfc at fedoraproject.org
Mon Aug 8 12:44:35 UTC 2011


commit 3ac66816447bf2579b100211335bc4c8175216b1
Author: Paul Howarth <paul at city-fan.org>
Date:   Mon Aug 8 13:43:00 2011 +0100

    Run the release tests too
    
    BR: perl(Test::CPAN::Meta), perl(Test::MinimumVersion) and perl(Test::Pod),
    and run the release tests too

 perl-Module-Manifest.spec |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/perl-Module-Manifest.spec b/perl-Module-Manifest.spec
index 1544b81..f5f214a 100644
--- a/perl-Module-Manifest.spec
+++ b/perl-Module-Manifest.spec
@@ -11,8 +11,14 @@ BuildArch:      noarch
 BuildRequires:  perl >= 0:5.005
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Params::Util) >= 0.10
+BuildRequires:  perl(Test::CPAN::Meta)
 BuildRequires:  perl(Test::Exception) >= 0.26
+# Test::MinimumVersion not available in EPEL-4/5
+%if 0%{?fedora} || 0%{?rhel} > 5
+BuildRequires:  perl(Test::MinimumVersion)
+%endif
 BuildRequires:  perl(Test::More) >= 0.42
+BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(Test::Warn) >= 0.11
 Requires:       perl(File::Spec) >= 0.80
 Requires:       perl(Params::Util) >= 0.10
@@ -41,6 +47,7 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} \; 2>/dev/null
 
 %check
 make test
+make test AUTOMATED_TESTING=1 TEST_FILES="xt/*.t"
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -58,6 +65,8 @@ rm -rf $RPM_BUILD_ROOT
   (test suite still passes)
 - Don't use macros for commands
 - Make %%files list more explicit
+- BR: perl(Test::CPAN::Meta), perl(Test::MinimumVersion) and perl(Test::Pod),
+  and run the release tests too
 
 * Wed Jul 20 2011 Petr Sabata <contyk at redhat.com> - 1.08-4
 - Perl mass rebuild



More information about the perl-devel mailing list