run release/author tests too

This commit is contained in:
Iain Arnell 2012-04-02 10:12:26 -06:00
parent e732886630
commit 517515599c

View File

@ -15,6 +15,19 @@ BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Script) BuildRequires: perl(Test::Script)
BuildRequires: perl(version) >= 0.77 BuildRequires: perl(version) >= 0.77
# for author/release tests
BuildRequires: perl(Perl::Critic::Policy::Lax::ProhibitStringyEval::ExceptForRequire)
BuildRequires: perl(Pod::Coverage::TrustPod)
BuildRequires: perl(Pod::Wordlist::hanekomu)
BuildRequires: perl(Test::CPAN::Meta)
BuildRequires: perl(Test::Perl::Critic)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(Test::Portability::Files)
BuildRequires: perl(Test::Requires)
BuildRequires: perl(Test::Spelling) aspell-en
BuildRequires: perl(Test::Version)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# CPAN-Meta-Requirements was split from CPAN-Meta # CPAN-Meta-Requirements was split from CPAN-Meta
@ -43,7 +56,7 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}/* %{_fixperms} %{buildroot}/*
%check %check
make test make test TEST_FILES="t/*.t xt/*/*.t"
%files %files
%doc Changes LICENSE perlcritic.rc README README.PATCHING %doc Changes LICENSE perlcritic.rc README README.PATCHING
@ -53,6 +66,7 @@ make test
%changelog %changelog
* Mon Apr 02 2012 Iain Arnell <iarnell@gmail.com> 2.121-2 * Mon Apr 02 2012 Iain Arnell <iarnell@gmail.com> 2.121-2
- clean up spec following review - clean up spec following review
- run release/author tests too
* Sun Apr 01 2012 Iain Arnell <iarnell@gmail.com> 2.121-1 * Sun Apr 01 2012 Iain Arnell <iarnell@gmail.com> 2.121-1
- Specfile autogenerated by cpanspec 1.79. - Specfile autogenerated by cpanspec 1.79.