Skip Menu |
 

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

Report information
The Basics
Id: 24634
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
Download (untitled) / with headers
text/plain 317b
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
Download mi2.diff
text/x-diff 932b
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',
Download (untitled) / with headers
text/plain 163b
Closing this duplicate. rt encountered an internal error so I submitted the bug again only to find out that the previous ticket had been created despite the error.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.