Subject: | Patch to add resources metadata |
Date: | Tue, 23 Jun 2020 09:46:01 +0000 |
To: | bug-Net-DNS [...] rt.cpan.org |
From: | Tom Hukins <tom [...] eborcom.com> |
Hi,
Please find attached a patch that adds useful metadata about this
distribution's repository and home page. Tools such as MetaCPAN display
this.
Tom
Index: Makefile.PL
===================================================================
--- Makefile.PL (revision 1788)
+++ Makefile.PL (working copy)
@@ -57,6 +57,14 @@
'Net::LibIDN2' => 1.00,
);
+my %resources = (
+ homepage => 'https://www.net-dns.org/',
+ repository => {
+ type => 'svn',
+ url => 'https://www.net-dns.org/svn/net-dns/',
+ web => 'https://www.net-dns.org/svn/net-dns/',
+ },
+ );
## IMPORTANT: THE USE AND/OR HANDLING OF STRONG ENCRYPTION TECHNOLOGIES IS
## PROHIBITED OR SEVERELY RESTRICTED IN MANY TERRITORIES.
@@ -81,7 +89,11 @@
WriteMakefile( ## Makefile & distribution metadata
%metadata,
PREREQ_PM => {%prerequisite},
- META_MERGE => {recommends => {%optional}},
+ META_MERGE => {
+ recommends => {%optional},
+ resources => {%resources},
+ 'meta-spec' => {version => 2},
+ },
clean => {FILES => "@debris"},
);