This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch master in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=66f18c3b3695fb2b9cea847aaa419b588c676f7e commit 66f18c3b3695fb2b9cea847aaa419b588c676f7e Author: Guillem Jover <guil...@debian.org> AuthorDate: Wed Sep 26 05:56:11 2018 +0200 build: Distribute the data files from the CPAN Build.PL script When building the CPAN package, we need to also distribute the data files, otherwise the modules will not work correctly once installed. --- scripts/Build.PL.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/Build.PL.in b/scripts/Build.PL.in index 35a64d9be..15a53e90e 100644 --- a/scripts/Build.PL.in +++ b/scripts/Build.PL.in @@ -102,6 +102,9 @@ my $build = $class->new( 'perl' => '@PERL_MIN_VERSION@', }, + data_files => { + map { $_ => $_ } glob 'data/*' + }, install_path => { conf => '/etc/dpkg', data => '/usr/share/dpkg', @@ -110,6 +113,7 @@ my $build = $class->new( }, ); +$build->add_build_element('data'); $build->create_build_script(); 1; -- Dpkg.Org's dpkg