Don't BR: perl(Module::Build) when bootstrapping

This commit is contained in:
Jitka Plesnikova 2017-05-12 15:03:50 +02:00
parent 39e7dca0ee
commit 33f099ca0f

View File

@ -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 <jplesnik@redhat.com> - 2.18-2
- Don't BR: perl(Module::Build) when bootstrapping
* Wed May 10 2017 Petr Pisar <ppisar@redhat.com> - 2.18-1
- Upgrade to CPAN-2.18 as provided in perl-5.25.12