[perl-CPAN-Meta-Requirements] Conditionalize Test::* and Pod::* and also tests.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 00b15971383d903b33f1d2decd99b9fec3ce7bbb
Author: Marcela Mašláňová <mmaslano@xxxxxxxxxx>
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@xxxxxxxxxx> - 2.122-6
+- Conditionalize Test::*
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2.122-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux