[perl-Test-Requires/el6/master: 3/3] Clean up and run release tests
Paul Howarth
pghmcfc at fedoraproject.org
Mon Nov 22 07:46:57 UTC 2010
commit c2ab9a1d3235d5ca73a100e3e205fab55b54e006
Author: Paul Howarth <paul at city-fan.org>
Date: Fri Nov 19 10:12:10 2010 +0000
Clean up and run release tests
- Run release tests as well as standard test suite in %check
- Drop no-longer-needed buildreq perl(Filter::Util::Call)
- New buildreqs perl(Test::Perl::Critic), perl(Test::Pod), perl(Test::Spelling)
perl-Test-Requires.spec | 17 ++++++++++++++---
1 files changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/perl-Test-Requires.spec b/perl-Test-Requires.spec
index daee442..4ff2e3b 100644
--- a/perl-Test-Requires.spec
+++ b/perl-Test-Requires.spec
@@ -1,7 +1,7 @@
Name: perl-Test-Requires
Summary: Checks to see if a given module can be loaded
Version: 0.06
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-Requires-%{version}.tar.gz
@@ -11,8 +11,13 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
-BuildRequires: perl(Filter::Util::Call)
-BuildRequires: perl(Test::More) >= 0.61
+BuildRequires: perl(Test::Builder::Module)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Perl::Critic)
+BuildRequires: perl(Test::Pod)
+# Need aspell-en for now, changing to hunspell-en
+# when #592888 is resolved, probably in RHEL 6.1
+BuildRequires: perl(Test::Spelling), aspell-en
Requires: perl(Test::Builder::Module)
@@ -42,6 +47,7 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%check
# note the "skipped" warnings indicate success :)
make test
+make test TEST_FILES="xt/*.t"
%clean
@@ -54,6 +60,11 @@ rm -rf %{buildroot}
%{_mandir}/man3/*.3*
%changelog
+* Thu Nov 18 2010 Paul Howarth <paul at city-fan.org> - 0.06-2
+- run release tests as well as standard test suite in %%check
+- drop no-longer-needed buildreq perl(Filter::Util::Call)
+- new buildreqs perl(Test::Perl::Critic), perl(Test::Pod), perl(Test::Spelling)
+
* Tue Oct 05 2010 Iain Arnell <iarnell at gmail.com> 0.06-1
- update to latest upstream version
More information about the scm-commits
mailing list