diff --git a/perl.spec b/perl.spec index a1bea1a..71b05d0 100644 --- a/perl.spec +++ b/perl.spec @@ -499,6 +499,23 @@ distribution. The data structure stored in the META.json file is described 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 @@ -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* @@ -2938,6 +2960,12 @@ sed \ %exclude %{_mandir}/man3/CPAN::Meta::YAML* %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 @@ -3609,6 +3637,7 @@ sed \ %changelog * Tue Jun 11 2013 Petr Pisar - 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 - 4:5.16.3-276 - Require $Config{libs} providers (bug #905482)