[perl] Move CPAN-Meta-Requirements files from CPAN-Meta
Petr Pisar
ppisar at fedoraproject.org
Tue Jun 11 15:32:47 UTC 2013
commit 86f6b708b0454b114398a26d4fc7cb547f763407
Author: Petr Písař <ppisar at redhat.com>
Date: Tue Jun 11 16:39:12 2013 +0200
Move CPAN-Meta-Requirements files from CPAN-Meta
perl.spec | 31 ++++++++++++++++++++++++++++++-
1 files changed, 30 insertions(+), 1 deletions(-)
---
diff --git a/perl.spec b/perl.spec
index a1bea1a..71b05d0 100644
--- a/perl.spec
+++ b/perl.spec
@@ -500,6 +500,23 @@ in CPAN::Meta::Spec.
%endif
%if %{dual_life} || %{rebuild_from_scratch}
+%package CPAN-Meta-Requirements
+Summary: Set of version requirements for a CPAN dist
+Epoch: 0
+Version: 2.120.630
+License: GPL+ or Artistic
+Group: Development/Libraries
+Requires: %perl_compat
+BuildArch: noarch
+
+%description CPAN-Meta-Requirements
+A CPAN::Meta::Requirements object models a set of version constraints like
+those specified in the META.yml or META.json files in CPAN distributions.
+It can be built up by adding more and more constraints, and it will reduce
+them to the simplest representation.
+%endif
+
+%if %{dual_life} || %{rebuild_from_scratch}
%package CPAN-Meta-YAML
Version: 0.007
Epoch: 0
@@ -1851,7 +1868,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-constant,
-Requires: perl-CPAN, perl-CPAN-Meta, perl-CPAN-Meta-YAML, perl-CPANPLUS,
+Requires: perl-CPAN, perl-CPAN-Meta, perl-CPAN-Meta-Requirements,
+Requires: perl-CPAN-Meta-YAML, perl-CPANPLUS,
Requires: perl-CPANPLUS-Dist-Build, perl-Encode
Requires: perl-Data-Dumper, perl-DB_File, perl-Digest, perl-Digest-MD5,
Requires: perl-Digest-SHA, perl-Env, perl-Exporter
@@ -2282,6 +2300,10 @@ sed \
%exclude %{privlib}/CPAN/Meta/Validator.pm
%exclude %{_mandir}/man3/CPAN::Meta*
+# CPAN-Meta-Requirements
+%exclude %{privlib}/CPAN/Meta/Requirements.pm
+%exclude %{_mandir}/man3/CPAN::Meta::Requirements.3*
+
# CPAN-Meta-YAML
%exclude %{privlib}/CPAN/Meta/YAML.pm
%exclude %{_mandir}/man3/CPAN::Meta::YAML*
@@ -2939,6 +2961,12 @@ sed \
%endif
%if %{dual_life} || %{rebuild_from_scratch}
+%files CPAN-Meta-Requirements
+%{privlib}/CPAN/Meta/Requirements.pm
+%{_mandir}/man3/CPAN::Meta::Requirements.3*
+%endif
+
+%if %{dual_life} || %{rebuild_from_scratch}
%files CPAN-Meta-YAML
%{privlib}/CPAN/Meta/YAML.pm
%{_mandir}/man3/CPAN::Meta::YAML*
@@ -3609,6 +3637,7 @@ sed \
%changelog
* Tue Jun 11 2013 Petr Pisar <ppisar at redhat.com> - 4:5.16.3-277
- Move CPANPLUS-Dist-Build files from perl-CPANPLUS
+- Move CPAN-Meta-Requirements files from CPAN-Meta
* Thu Jun 06 2013 Petr Pisar <ppisar at redhat.com> - 4:5.16.3-276
- Require $Config{libs} providers (bug #905482)
More information about the scm-commits
mailing list