[perl] Remove bundled CPAN-Meta-YAML

Petr Pisar ppisar at fedoraproject.org
Tue Dec 18 16:37:04 UTC 2012


commit 9c81ffb18772e5f35f2e2eb29d57d8f3b53af02f
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Dec 18 17:16:53 2012 +0100

    Remove bundled CPAN-Meta-YAML

 perl.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/perl.spec b/perl.spec
index d1ed894..c4bcbb6 100644
--- a/perl.spec
+++ b/perl.spec
@@ -405,6 +405,7 @@ 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-YAML
 Version:        0.007
 Epoch:          0
@@ -418,7 +419,7 @@ Requires:       %perl_compat
 This module implements a subset of the YAML specification for use in reading
 and writing CPAN metadata files like META.yml and MYMETA.yml. It should not be
 used for any other general YAML parsing or generation task.
-
+%endif
 
 %package CPANPLUS
 Summary:        API & CLI access to the CPAN mirrors
@@ -2263,9 +2264,11 @@ sed \
 %exclude %{_mandir}/man3/CPAN::Meta::YAML*
 %endif
 
+%if %{dual_life} || %{rebuild_from_scratch}
 %files CPAN-Meta-YAML
 %{privlib}/CPAN/Meta/YAML.pm
 %{_mandir}/man3/CPAN::Meta::YAML*
+%endif
 
 %files CPANPLUS
 %{_bindir}/cpan2dist
@@ -2740,6 +2743,7 @@ sed \
 %changelog
 * Tue Dec 18 2012 Petr Pisar <ppisar at redhat.com> - 4:5.16.2-244
 - Remove bundled Archive-Tar
+- Remove bundled CPAN-Meta-YAML
 
 * Tue Dec 18 2012 Petr Pisar <ppisar at redhat.com> - 4:5.16.2-243
 - Remove bundled Filter modules


More information about the scm-commits mailing list