Conditionalize Test::* and Pod::* and also tests.

This commit is contained in:
Marcela Mašláňová 2012-07-20 16:01:08 +02:00
parent 875e4f2b9f
commit 00b1597138

View File

@ -1,6 +1,6 @@
Name: perl-CPAN-Meta-Requirements
Version: 2.122
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Set of version requirements for a CPAN dist
License: GPL+ or Artistic
Group: Development/Libraries
@ -18,7 +18,7 @@ BuildRequires: perl(Test::Script)
%endif
BuildRequires: perl(version) >= 0.77
# for author/release tests
%if !%{defined perl_bootstrap}
%if !%{defined perl_bootstrap} && ! ( 0%{?rhel} )
BuildRequires: perl(Perl::Critic::Policy::Lax::ProhibitStringyEval::ExceptForRequire)
BuildRequires: perl(Pod::Coverage::TrustPod)
BuildRequires: perl(Pod::Wordlist::hanekomu)
@ -63,7 +63,7 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}/*
%check
%if %{defined perl_bootstrap}
%if %{defined perl_bootstrap} || ( 0%{?rhel} )
rm -rf xt
%endif
make test TEST_FILES="t/*.t xt/*/*.t"
@ -74,6 +74,9 @@ make test TEST_FILES="t/*.t xt/*/*.t"
%{_mandir}/man3/*
%changelog
* Fri Jul 20 2012 Marcela Mašláňová <mmaslano@redhat.com> - 2.122-6
- Conditionalize Test::*
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.122-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild