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

Petr Pisar ppisar at fedoraproject.org
Wed Sep 5 15:01:59 UTC 2012


commit 310ff4f77d9bfb314f0e71cf97f4fdc50d0335b5
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 |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/perl.spec b/perl.spec
index 13626b6..a9cc4da 100644
--- a/perl.spec
+++ b/perl.spec
@@ -346,6 +346,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 = %{perl_epoch}:%{perl_version}-%{release}
@@ -1625,9 +1626,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:*
 
@@ -2002,7 +2005,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*
@@ -2131,9 +2134,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/
@@ -2511,7 +2516,7 @@ sed \
 
 %files Test-Harness
 %{_bindir}/prove
-%{privlib}/App*
+%{privlib}/App/Prove*
 %{privlib}/TAP*
 %{privlib}/Test/Harness*
 %{_mandir}/man1/prove.1*
@@ -2570,6 +2575,7 @@ sed \
 %changelog
 * Wed Sep 05 2012 Petr Pisar <ppisar at redhat.com> - 4:5.16.1-229
 - Remove perl-devel dependency from perl-Test-Harness and perl-Test-Simple
+- Move App::Cpan from perl-Test-Harness to perl-CPAN (bug #854577)
 
 * Thu Aug 09 2012 Jitka Plesnikova <jplesnik at redhat.com> 4:5.16.1-228
 - 5.16.1 bump (see



More information about the perl-devel mailing list