[libconfig-model-dpkg-perl] 01/02: License model: replace BSD summary with full text

dod at debian.org dod at debian.org
Fri Apr 1 17:29:35 UTC 2016


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

dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit cbb5e408ebfeee8b48a6defbe809d78ef13d51ce
Author: Dominique Dumont <dod at debian.org>
Date:   Fri Apr 1 19:26:35 2016 +0200

    License model: replace BSD summary with full text
---
 lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl b/lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl
index d377d02..7ebe530 100644
--- a/lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl
+++ b/lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl
@@ -53,6 +53,10 @@ $text;',
         'type' => 'leaf',
         'value_type' => 'string',
         'warn_if_match' => {
+          '/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'
+          },
           'fill license' => {
             'msg' => 'License contains copyright scanner boilerplate. Please update this field with the actual license text'
           }

-- 
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