[libconfig-model-dpkg-perl] 02/04: copyright: fix warning about common BSD license (Tx Thomas)

dod at debian.org dod at debian.org
Mon Oct 2 17:51:30 UTC 2017


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

dod pushed a commit to annotated tag debian/2.100
in repository libconfig-model-dpkg-perl.

commit 537a3cb9580bad5542edc041967ca45fb88fa45d
Author: Dominique Dumont <dod at debian.org>
Date:   Sat Sep 30 18:33:09 2017 +0200

    copyright: fix warning about common BSD license (Tx Thomas)
    
    cme did warn about this text:
    >  (This license is Debian's /usr/share/common-licenses/BSD, modified to
    >  express that the Regents of the University of California are not involved,
    >  and to remove the third clause, which is not mentioned in the upstream
    >  script.)
    
    Although this warning is about redirecting reader to
    /usr/share/common-licenses/BSD. I've modified the regexp so that a
    reference without redirection does not trigger this warning
---
 lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl b/lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl
index 7ebe530..9f2a494 100644
--- a/lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl
+++ b/lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl
@@ -53,7 +53,7 @@ $text;',
         'type' => 'leaf',
         'value_type' => 'string',
         'warn_if_match' => {
-          '/usr/share/common-licenses/BSD' => {
+          'can \\s+be\\s+found\\+in\\s+.?/usr/share/common-licenses/BSD' => {
             'fix' => '$_ = undef; # back to default value',
             'msg' => 'The copyright text refers to /usr/share/common-licenses/BSD which should no longer be used'
           },

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



More information about the Pkg-perl-cvs-commits mailing list