From: Karen Etheridge <ether@cpan.org>
Date: Tue, 19 May 2015 18:47:09 +0000 (-0700)
Subject: shorter way of customizing our COPYRIGHT pod section
X-Git-Tag: v0.15~7
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=54ff9bd657fc0eb0c36e3a1a2d3cd318a5f224c9;p=p5sagit%2FSub-Name.git

shorter way of customizing our COPYRIGHT pod section
---

diff --git a/dist.ini b/dist.ini
index df4f5bc..1a41ad4 100644
--- a/dist.ini
+++ b/dist.ini
@@ -21,3 +21,4 @@ Devel::CheckBin = 0
 check_dual_life_versions = 0
 
 ; authordep Pod::Weaver::Section::Contributors = 0.008
+; authordep Pod::Weaver::Section::AllowOverride
diff --git a/weaver.ini b/weaver.ini
index 87753a4..b854248 100644
--- a/weaver.ini
+++ b/weaver.ini
@@ -1,37 +1,10 @@
-; this is [@Default] without [Legal]...
+[@Default]
 
-[@CorePrep]
+[Contributors]
 
-[-SingleEncoding]
-
-[Name]
-[Version]
-
-[Region  / prelude]
-
-[Generic / SYNOPSIS]
-[Generic / DESCRIPTION]
-[Generic / OVERVIEW]
-
-[Collect / ATTRIBUTES]
-command = attr
-
-[Collect / METHODS]
-command = method
-
-[Collect / FUNCTIONS]
-command = func
-
-[Leftovers]
-
-[Region  / postlude]
-
-[Authors]
-[Contributors]  ; okay, and this is added too
-; [Legal]       ; snip!
-
-[Generic / COPYRIGHT AND LICENSE]
-required = 1
+[AllowOverride / OverrideLegal]
+header_re = ^COPYRIGHT
+match_anywhere = 1
 
 [-Transformer]
 transformer = List