[perl-CPAN-Meta-Requirements] Conditionalize Test::* and Pod::* and also tests.
Marcela Mašláňová
mmaslano at fedoraproject.org
Fri Jul 20 14:01:59 UTC 2012
commit 00b15971383d903b33f1d2decd99b9fec3ce7bbb
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date: Fri Jul 20 16:01:08 2012 +0200
Conditionalize Test::* and Pod::* and also tests.
perl-CPAN-Meta-Requirements.spec | 9 ++++++---
1 files 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á <mmaslano at redhat.com> - 2.122-6
+- Conditionalize Test::*
+
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.122-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list