[perl: 5/8] Disable BR perl(local::lib) for cpan tool when bootstraping

Jitka Plesnikova jplesnik at fedoraproject.org
Tue Aug 26 06:31:54 UTC 2014


commit b54fd32bacadb806e91b78f125fec65256a6a586
Author: Jitka Plesnikova <jplesnik at redhat.com>
Date:   Mon Aug 18 09:16:55 2014 +0200

    Disable BR perl(local::lib) for cpan tool when bootstraping

 perl.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/perl.spec b/perl.spec
index 5523afb..6be5f0b 100644
--- a/perl.spec
+++ b/perl.spec
@@ -464,8 +464,11 @@ Version:        2.05
 Requires:       perl(Data::Dumper)
 # CPAN encourages Digest::SHA strongly because of integrity checks
 Requires:       perl(Digest::SHA)
+# Avoid circular deps local::lib -> Module::Install -> CPAN when bootstraping
+%if ! %{defined perl_bootstrap}
 # local::lib recommended by CPAN::FirstTime default choice, bug #1122498
 Requires:       perl(local::lib)
+%endif
 Requires:       %perl_compat
 Provides:       cpan = %{version}
 BuildArch:      noarch
@@ -3396,6 +3399,7 @@ sed \
 - Update patches to work with new version
 - Update version of sub-packages, remove the deleted sub-packages
 - Sub-package perl-IO-Socket-IP, perl-experimental
+- Disable BR perl(local::lib) for cpan tool when bootstraping
 
 * Fri Aug 08 2014 Petr Pisar <ppisar at redhat.com> - 4:5.18.2-303
 - Declare dependencies for cpan tool (bug #1122498)


More information about the scm-commits mailing list