[libconfig-model-dpkg-perl] 02/08: allow pkg-dbg.install files

dod at debian.org dod at debian.org
Wed Mar 8 19:54:39 UTC 2017


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 621a045a9dbc2adc5836d069f3fb05806d8e02d4
Author: Dominique Dumont <dod at debian.org>
Date:   Sat Mar 4 17:58:14 2017 +0100

    allow pkg-dbg.install files
    
    pkg-dbg is a package created by dh tools without requiring an entry in
    control binary. Hence the hash that contains install element canoot
    "follow" the hash that contains "binary" because the pkg-dbg would be
    forbidden.
    
    Plan B is to use "migrate_from" so that keys are copied when the install
    element is created.
---
 lib/Config/Model/models/Dpkg.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Config/Model/models/Dpkg.pl b/lib/Config/Model/models/Dpkg.pl
index dbc8cc2..74afdc4 100644
--- a/lib/Config/Model/models/Dpkg.pl
+++ b/lib/Config/Model/models/Dpkg.pl
@@ -120,8 +120,8 @@ details',
           'type' => 'node'
         },
         'description' => 'List the files to install into each package and the directory they should be installed to.',
-        'follow_keys_from' => '- control binary',
         'index_type' => 'string',
+        'migrate_keys_from' => '- control binary',
         'type' => 'hash'
       },
       'not-installed',

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