[perl-CPAN] Synchronize to perl.spec modifications

Petr Pisar ppisar at fedoraproject.org
Wed Sep 10 12:56:24 UTC 2014


commit 3943e49d4295fd5b9e0bcf0bbba02b8f313d6a89
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Sep 10 13:01:08 2014 +0200

    Synchronize to perl.spec modifications

 perl-CPAN.spec |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
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 <ppisar at redhat.com> 2.05-307
+- Synchronize to perl.spec modifications
+
 * Tue Apr 22 2014 Petr Pisar <ppisar at redhat.com> 2.05-1
 - Specfile autogenerated by cpanspec 1.78.



More information about the perl-devel mailing list