Subject: | GPL version not parsed |
Hi,
At the moment, it seems like Module::Install does not report which
version of the GPL license is used for a Perl script or module, even if
this is specified explicitly in its POD.
Example:
=head1 COPYRIGHT
Copyright 2009,2010,2011 Florent ANGLY <florent.angly@gmail.com>
Grinder is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License (GPL) as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Grinder is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Grinder. If not, see <http://www.gnu.org/licenses/>.
The version reported in META.yml should then be 'gpl3' but it is only 'gpl'.
The example given above is the exact phrasing recommended by the FSF
(http://www.gnu.org/licenses/gpl-howto.html). Thus I suggest that
Module::Install returns 'gpl3' at least for this phrasing.
Cheers,
Florent