[perl] Move App::Cpan from perl-Test-Harness to perl-CPAN

Petr Pisar ppisar at fedoraproject.org
Wed Sep 5 14:54:11 UTC 2012


commit 78af436fd3f974120f21382072cc9cfdb26e5dae
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Sep 5 15:43:43 2012 +0200

    Move App::Cpan from perl-Test-Harness to perl-CPAN

 perl.spec |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/perl.spec b/perl.spec
index 396b4d5..1bcd434 100644
--- a/perl.spec
+++ b/perl.spec
@@ -29,7 +29,7 @@
 Name:           perl
 Version:        %{perl_version}
 # release number must be even higher, because dual-lived modules will be broken otherwise
-Release:        231%{?dist}
+Release:        232%{?dist}
 Epoch:          %{perl_epoch}
 Summary:        Practical Extraction and Report Language
 Group:          Development/Languages
@@ -354,6 +354,7 @@ Group:          Development/Languages
 License:        GPL+ or Artistic
 Epoch:          0
 Version:        1.9800
+Requires:       perl(Data::Dumper)
 # CPAN encourages Digest::SHA strongly because of integrity checks
 Requires:       perl(Digest::SHA)
 Requires:       %perl_compat
@@ -1642,9 +1643,11 @@ sed \
 
 # CPAN
 %exclude %{_bindir}/cpan
+%exclude %{privlib}/App/Cpan.pm
 %exclude %{privlib}/CPAN/
 %exclude %{privlib}/CPAN.pm
 %exclude %{_mandir}/man1/cpan.1*
+%exclude %{_mandir}/man3/App::Cpan.*
 %exclude %{_mandir}/man3/CPAN.*
 %exclude %{_mandir}/man3/CPAN:*
 
@@ -2019,7 +2022,7 @@ sed \
 
 # Test::Harness
 %exclude %{_bindir}/prove
-%exclude %{privlib}/App*
+%exclude %{privlib}/App/Prove*
 %exclude %{privlib}/TAP*
 %exclude %{privlib}/Test/Harness*
 %exclude %{_mandir}/man1/prove.1*
@@ -2150,9 +2153,11 @@ sed \
 
 %files CPAN
 %{_bindir}/cpan
+%{privlib}/App/Cpan.pm
 %{privlib}/CPAN/
 %{privlib}/CPAN.pm
 %{_mandir}/man1/cpan.1*
+%{_mandir}/man3/App::Cpan.*
 %{_mandir}/man3/CPAN.*
 %{_mandir}/man3/CPAN:*
 %exclude %{privlib}/CPAN/Meta/
@@ -2560,7 +2565,7 @@ sed \
 
 %files Test-Harness
 %{_bindir}/prove
-%{privlib}/App*
+%{privlib}/App/Prove*
 %{privlib}/TAP*
 %{privlib}/Test/Harness*
 %{_mandir}/man1/prove.1*
@@ -2627,6 +2632,9 @@ sed \
 
 # Old changelog entries are preserved in CVS.
 %changelog
+* Wed Sep 05 2012 Petr Pisar <ppisar at redhat.com> - 4:5.16.1-232
+- Move App::Cpan from perl-Test-Harness to perl-CPAN (bug #854577)
+
 * Fri Aug 24 2012 Petr Pisar <ppisar at redhat.com> - 4:5.16.1-231
 - Remove perl-devel dependency from perl-Test-Harness and perl-Test-Simple
 


More information about the scm-commits mailing list