Subject: | [PATCH] license_from mislabels LGPL as GPL and doesn't find some GPL licenses |
M::I's license_from will mislabel "GNU lesser public license" as gpl
(correct: lgpl) and fail to see that "GNU general public license" which
the needle in the GPL's "how to apply this license" section.
The attached patch fixes both of these issues. Submitted together
because it touches the same place in Metadata.pm
Subject: | mi2.diff |
diff -ru Module-Install-0.64/lib/Module/Install/Metadata.pm Module-Install-gpl/lib/Module/Install/Metadata.pm
--- Module-Install-0.64/lib/Module/Install/Metadata.pm 2006-08-23 17:11:17.000000000 +0000
+++ Module-Install-gpl/lib/Module/Install/Metadata.pm 2007-01-28 05:30:34.000000000 +0000
@@ -290,7 +290,8 @@
my @phrases = (
'under the same (?:terms|license) as perl itself' => 'perl',
'GNU public license' => 'gpl',
- 'GNU lesser public license' => 'gpl',
+ 'GNU general public license' => 'gpl',
+ 'GNU lesser public license' => 'lgpl',
'BSD license' => 'bsd',
'Artistic license' => 'artistic',
'GPL' => 'gpl',