From 5148d7558c3d005a694b0170e8064540be728ee3 Mon Sep 17 00:00:00 2001 From: James E Keenan Date: Fri, 28 May 2021 18:16:23 -0400 Subject: [PATCH] Report Data::Dumper problems to Perl 5 Github issues queue In the commit message for 29c66c43dc9b80118284c89a37f090d4f2fada58, Nicholas Clark wrote: Really we should decide *which* bugtracker is canonical for Data::Dumper (and will be checked and acted upon) and then record that metadata in this Makefile.PL so that [metacpan.org, etc., can] link to it. Let's provide that information based on the examples of other blead-upstream distros under `dist`, `dist/Module-CoreList/Makefile.PL` and `dist/PathTools/Makefile.PL`. --- dist/Data-Dumper/Makefile.PL | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/dist/Data-Dumper/Makefile.PL b/dist/Data-Dumper/Makefile.PL index 66e6baf66c75..afbdba650719 100644 --- a/dist/Data-Dumper/Makefile.PL +++ b/dist/Data-Dumper/Makefile.PL @@ -1,10 +1,23 @@ use strict; use warnings; use ExtUtils::MakeMaker; + +my @extra; +push @extra, 'LICENSE' => 'perl_5' + unless $ExtUtils::MakeMaker::VERSION < 6.31; +push @extra, 'META_MERGE' => { + resources => { + repository => 'git://perl5.git.perl.org/perl.git', + bugtracker => 'https://github.com/Perl/perl5/issues', + homepage => "http://dev.perl.org/", + }, + } unless $ExtUtils::MakeMaker::VERSION < 6.46; + WriteMakefile( NAME => 'Data::Dumper', VERSION_FROM => 'Dumper.pm', ABSTRACT_FROM => 'Dumper.pm', $] <= 5.011000 ? ( INSTALLDIRS => 'perl' ) : (), ((grep { $_ eq 'PERL_CORE=1' } @ARGV) ? () : ('DEFINE' => '-DUSE_PPPORT_H')), + @extra, );