[libconfig-model-dpkg-perl] 18/33: FileLicense model: put short_name after file_license ...

dod at debian.org dod at debian.org
Mon Mar 30 17:41:41 UTC 2015


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 ce5e945a6c9cd9d81df483dbda27b97ed96aa1ae
Author: Dominique Dumont <dod at debian.org>
Date:   Fri Mar 27 19:32:01 2015 +0100

    FileLicense model: put short_name after file_license ...
    
    ... so load_data has the correct order: short_name depends on the
    content of full_license
---
 lib/Config/Model/models/Dpkg/Copyright/FileLicense.pl | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/lib/Config/Model/models/Dpkg/Copyright/FileLicense.pl b/lib/Config/Model/models/Dpkg/Copyright/FileLicense.pl
index 70617dd..d13d5c5 100644
--- a/lib/Config/Model/models/Dpkg/Copyright/FileLicense.pl
+++ b/lib/Config/Model/models/Dpkg/Copyright/FileLicense.pl
@@ -7,6 +7,13 @@
       '2010,2011 Dominique Dumont'
     ],
     'element' => [
+      'full_license',
+      {
+        'description' => 'if left blank here, the file must include a stand-alone License section matching each license short name listed on the first line (see the Standalone License Section section). Otherwise, this field should either include the full text of the license(s) or include a pointer to the license file under /usr/share/common-licenses. This field should include all text needed in order to fulfill both Debian Policy requirement for including a copy of the software distribut [...]
+',
+        'type' => 'leaf',
+        'value_type' => 'string'
+      },
       'short_name',
       {
         'description' => 'abbreviated name for the license. If empty, it is given the default 
@@ -89,13 +96,6 @@ license: abbrev exception(?)
             }
           ]
         }
-      },
-      'full_license',
-      {
-        'description' => 'if left blank here, the file must include a stand-alone License section matching each license short name listed on the first line (see the Standalone License Section section). Otherwise, this field should either include the full text of the license(s) or include a pointer to the license file under /usr/share/common-licenses. This field should include all text needed in order to fulfill both Debian Policy requirement for including a copy of the software distribut [...]
-',
-        'type' => 'leaf',
-        'value_type' => 'string'
       }
     ],
     'license' => 'LGPL2',

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