From 33f099ca0f07770ff945ff0ab52624d2b9c2cb66 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Fri, 12 May 2017 15:03:50 +0200 Subject: [PATCH] Don't BR: perl(Module::Build) when bootstrapping --- perl-CPAN.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/perl-CPAN.spec b/perl-CPAN.spec index f057514..3180bfb 100644 --- a/perl-CPAN.spec +++ b/perl-CPAN.spec @@ -5,7 +5,7 @@ Name: perl-CPAN Version: 2.18 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Query, download and build perl modules from CPAN sites License: GPL+ or Artistic URL: http://search.cpan.org/dist/CPAN/ @@ -98,7 +98,9 @@ BuildRequires: perl(CPAN::Meta) >= 2.110350 # Digest::MD5 not used at tests BuildRequires: perl(Digest::SHA) # Keep MIME::Base64 optional +%if !%{defined perl_bootstrap} BuildRequires: perl(Module::Build) +%endif # Tests: # CPAN::Checksums not used @@ -177,8 +179,8 @@ Requires: perl(ExtUtils::CBuilder) # local::lib recommended by CPAN::FirstTime default choice, bug #1122498 Requires: perl(local::lib) %endif +%if ! %{defined perl_bootstrap} Requires: perl(Module::Build) -%if !%{defined perl_bootstrap} Recommends: perl(Term::ReadKey) Requires: perl(Text::Glob) # Text::Levenshtein::XS or Text::Levenshtein::Damerau::XS or Text::Levenshtein @@ -233,6 +235,9 @@ make test %{_mandir}/man3/* %changelog +* Fri May 12 2017 Jitka Plesnikova - 2.18-2 +- Don't BR: perl(Module::Build) when bootstrapping + * Wed May 10 2017 Petr Pisar - 2.18-1 - Upgrade to CPAN-2.18 as provided in perl-5.25.12