This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository licensecheck.

commit 41cb6407f654aa4182c86ed0edc839537d9c9a28
Author: Dominique Dumont <d...@debian.org>
Date:   Tue Sep 6 13:57:33 2016 +0200

    Enhance detection of Perl license
    
    Tweak the regexp to parse statement like:
    
    This is free software; you can redistribute it and/or modify it under
    the same terms as the Perl 5 programming language system itself.
    
    Note that the regexp accepts random order of "programming language
    system" words. We may need to add more later..
---
 lib/App/Licensecheck.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/App/Licensecheck.pm b/lib/App/Licensecheck.pm
index 8bc87d5..d410c78 100755
--- a/lib/App/Licensecheck.pm
+++ b/lib/App/Licensecheck.pm
@@ -548,7 +548,7 @@ sub parse_license
                }
        }
        given ($licensetext) {
-               when ( /This program is free software; you can redistribute it 
and\/or modify it under the same terms as Perl itself/ ) {
+               when ( /This (program )?is free software; you can redistribute 
it and\/or modify it under the same terms as (the )?Perl( ?5)? (programming 
|language |system )*itself/ ) {
                        $license = "Perl $license";
                        push @spdx_license, 'Artistic', 'GPL';
                }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/licensecheck.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to