Skip Menu |

This queue is for tickets about the Module-Install CPAN distribution.

Report information
The Basics
Id: 24635
Status: resolved
Priority: 0/
Queue: Module-Install

People
Owner: Nobody in particular
Requestors: avar [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.64
Fixed in: (no value)



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',
On Sun Jan 28 01:02:26 2007, AVAR wrote: Show quoted text
> 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
Fixed in SVN, will be in release 0.69