[perl/f19] Move CPANPLUS-Dist-Build files from perl-CPANPLUS
Petr Pisar
ppisar at fedoraproject.org
Tue Jun 18 09:11:00 UTC 2013
commit 93f3edbb0c973ab9d55e5987de1d826079350fc8
Author: Petr Písař <ppisar at redhat.com>
Date: Tue Jun 11 15:40:07 2013 +0200
Move CPANPLUS-Dist-Build files from perl-CPANPLUS
perl.spec | 34 ++++++++++++++++++++++++++++++----
1 files changed, 30 insertions(+), 4 deletions(-)
---
diff --git a/perl.spec b/perl.spec
index f9936d8..e74f2c3 100644
--- a/perl.spec
+++ b/perl.spec
@@ -31,7 +31,7 @@
Name: perl
Version: %{perl_version}
# release number must be even higher, because dual-lived modules will be broken otherwise
-Release: 264%{?dist}
+Release: 265%{?dist}
Epoch: %{perl_epoch}
Summary: Practical Extraction and Report Language
Group: Development/Languages
@@ -496,8 +496,6 @@ Requires: perl(Digest::SHA)
Requires: perl(Module::Pluggable) >= 2.4
Requires: perl(Module::CoreList)
Requires: %perl_compat
-Provides: perl-CPANPLUS-Dist-Build = 0.54
-Obsoletes: perl-CPANPLUS-Dist-Build <= 0.05
BuildArch: noarch
%description CPANPLUS
@@ -505,6 +503,22 @@ The CPANPLUS library is an API to the CPAN mirrors and a collection of
interactive shells, commandline programs, etc, that use this API.
%endif
+%package CPANPLUS-Dist-Build
+Summary: Module::Build extension for CPANPLUS
+Group: Development/Libraries
+License: GPL+ or Artistic
+Epoch: 0
+Version: 0.62
+Requires: %perl_compat
+# This is a plug-in for CPANPLUS, specify reverse dependency here
+Requires: perl(CPANPLUS)
+BuildArch: noarch
+
+%description CPANPLUS-Dist-Build
+CPANPLUS::Dist::Build is a distribution class for Module::Build related
+modules. With this package, you can create, install and uninstall
+Module::Build-based perl modules by calling CPANPLUS::Dist methods.
+
%if %{dual_life} || %{rebuild_from_scratch}
%package Data-Dumper
Summary: Stringify perl data structures, suitable for printing and eval
@@ -1588,7 +1602,8 @@ Requires: perl-macros
Requires: perl-Archive-Extract, perl-Archive-Tar, perl-autodie
Requires: perl-B-Lint, perl-Compress-Raw-Bzip2,
Requires: perl-Carp, perl-Compress-Raw-Zlib, perl-CGI, perl-CPAN,
-Requires: perl-CPAN-Meta, perl-CPAN-Meta-YAML, perl-CPANPLUS, perl-Encode
+Requires: perl-CPAN-Meta, perl-CPAN-Meta-YAML, perl-CPANPLUS
+Requires: perl-CPANPLUS-Dist-Build, perl-Encode
Requires: perl-Data-Dumper, perl-Digest, perl-Digest-MD5, perl-Digest-SHA,
Requires: perl-ExtUtils-CBuilder, perl-ExtUtils-Embed,
Requires: perl-ExtUtils-Install, perl-ExtUtils-MakeMaker
@@ -2020,6 +2035,7 @@ sed \
%exclude %{_mandir}/man3/Parse::CPAN::Meta.3*
# CPANPLUS
+# CPANPLUS-Dist-Build
%exclude %{_bindir}/cpan2dist
%exclude %{_bindir}/cpanp
%exclude %{_bindir}/cpanp-run-perl
@@ -2618,11 +2634,18 @@ sed \
%{_bindir}/cpanp-run-perl
%{privlib}/CPANPLUS/
%{privlib}/CPANPLUS.pm
+%exclude %{privlib}/CPANPLUS/Dist/Build/
%{_mandir}/man1/cpan2dist.1*
%{_mandir}/man1/cpanp.1*
%{_mandir}/man3/CPANPLUS*
%endif
+%files CPANPLUS-Dist-Build
+%{privlib}/CPANPLUS/Dist/Build/
+%{privlib}/CPANPLUS/Dist/Build.pm
+%{_mandir}/man3/CPANPLUS::Dist::Build.3*
+%{_mandir}/man3/CPANPLUS::Dist::Build::*
+
%if %{dual_life} || %{rebuild_from_scratch}
%files Data-Dumper
%dir %{archlib}/auto/Data
@@ -3172,6 +3195,9 @@ sed \
# Old changelog entries are preserved in CVS.
%changelog
+* Tue Jun 18 2013 Petr Pisar <ppisar at redhat.com> - 4:5.16.3-265
+- Move CPANPLUS-Dist-Build files from perl-CPANPLUS
+
* Mon May 13 2013 Petr Pisar <ppisar at redhat.com> - 4:5.16.3-264
- Use lib64 directories on aarch64 architecture (bug #961900)
More information about the scm-commits
mailing list