diff --git a/perl-CPAN.spec b/perl-CPAN.spec index f96e6d1..9a58b47 100644 --- a/perl-CPAN.spec +++ b/perl-CPAN.spec @@ -1,6 +1,6 @@ Name: perl-CPAN Version: 2.05 -Release: 1%{?dist} +Release: 307%{?dist} Summary: Query, download and build perl modules from CPAN sites License: GPL+ or Artistic Group: Development/Libraries @@ -127,11 +127,18 @@ Requires: perl(CPAN::Meta) >= 2.110350 %endif Requires: perl(Compress::Zlib) Requires: perl(Digest::MD5) +# CPAN encourages Digest::SHA strongly because of integrity checks Requires: perl(Digest::SHA) Requires: perl(Dumpvalue) Requires: perl(ExtUtils::CBuilder) +%if ! %{defined perl_bootstrap} +# Avoid circular deps local::lib -> Module::Install -> CPAN when bootstraping +# local::lib recommended by CPAN::FirstTime default choice, bug #1122498 +Requires: perl(local::lib) +%endif Requires: perl(Module::Build) Requires: perl(Text::Glob) +Provides: cpan = %{version} # Filter non-Linux dependencies %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Mac::BuildTools\\) @@ -171,5 +178,8 @@ make test %{_mandir}/man3/* %changelog +* Wed Sep 10 2014 Petr Pisar 2.05-307 +- Synchronize to perl.spec modifications + * Tue Apr 22 2014 Petr Pisar 2.05-1 - Specfile autogenerated by cpanspec 1.78.