- 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)
This commit is contained in:
Paul Howarth 2010-11-18 16:49:28 +00:00
parent 4ebe0d9d68
commit 868d923c69

View File

@ -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
@ -10,9 +10,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(Filter::Util::Call)
BuildRequires: perl(Test::More) >= 0.61
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::Builder::Module)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Perl::Critic)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Spelling), aspell-en
Requires: perl(Test::Builder::Module)
@ -42,6 +45,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 +58,11 @@ rm -rf %{buildroot}
%{_mandir}/man3/*.3*
%changelog
* Thu Nov 18 2010 Paul Howarth <paul@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@gmail.com> 0.06-1
- update to latest upstream version