[perl-indirect] Don't pull in Devel::CallParser when bootstrapping

Paul Howarth pghmcfc at fedoraproject.org
Fri Jan 31 16:25:24 UTC 2014


commit 09f30640aea46d9fbf693ed2d9971c39624eb150
Author: Paul Howarth <paul at city-fan.org>
Date:   Fri Jan 31 16:23:32 2014 +0000

    Don't pull in Devel::CallParser when bootstrapping
    
    Devel::CallParser and indirect use each other in their test suites
    so one of them needs tweaking for bootstrapping purposes.
    
    We are currently bootstrapping epel7.

 perl-indirect.spec |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/perl-indirect.spec b/perl-indirect.spec
index a501944..4550c43 100644
--- a/perl-indirect.spec
+++ b/perl-indirect.spec
@@ -1,13 +1,21 @@
+# Bootstrap epel7 build
+%if 0%{?rhel} > 6
+%global perl_bootstrap 1
+%endif
+
 Name:           perl-indirect
 Version:        0.29
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Lexically warn about using the indirect object syntax
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/indirect/
 Source0:        http://search.cpan.org/CPAN/authors/id/V/VP/VPIT/indirect-%{version}.tar.gz
 BuildRequires:  perl(ExtUtils::MakeMaker)
+# Devel::CallParser's test suite requires indirect
+%if 0%{!?perl_bootstrap:1}
 BuildRequires:  perl(Devel::CallParser)
+%endif
 BuildRequires:  perl(Test::Kwalitee)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod)
@@ -49,6 +57,10 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Fri Jan 31 2014 Paul Howarth <paul at city-fan.org> - 0.29-4
+- Don't pull in Devel::CallParser when bootstrapping
+- Bootstrap epel7 build
+
 * Wed Aug 07 2013 Petr Pisar <ppisar at redhat.com> - 0.29-3
 - Perl 5.18 rebuild
 



More information about the perl-devel mailing list