From 00b15971383d903b33f1d2decd99b9fec3ce7bbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Fri, 20 Jul 2012 16:01:08 +0200 Subject: [PATCH] Conditionalize Test::* and Pod::* and also tests. --- perl-CPAN-Meta-Requirements.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/perl-CPAN-Meta-Requirements.spec b/perl-CPAN-Meta-Requirements.spec index f92d423..00be2f0 100644 --- a/perl-CPAN-Meta-Requirements.spec +++ b/perl-CPAN-Meta-Requirements.spec @@ -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á - 2.122-6 +- Conditionalize Test::* + * Fri Jul 20 2012 Fedora Release Engineering - 2.122-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild