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=0c730ce6028932e695e4d183ca31a09451a3dfca commit 0c730ce6028932e695e4d183ca31a09451a3dfca Author: Guillem Jover <[email protected]> AuthorDate: Fri Sep 28 01:50:57 2018 +0200 build: Improve test and author CPAN dependencies Split the test recommends from the requires and add develop recommends into a prereqs metadata hierarchy. --- debian/changelog | 1 + scripts/Build.PL.in | 22 ++++++++++++++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 75b4ea7eb..ed36c2dff 100644 --- a/debian/changelog +++ b/debian/changelog @@ -19,6 +19,7 @@ dpkg (1.19.2) UNRELEASED; urgency=medium - Generalize PACKAGE_CPAN_SIGN by setting PACKAGE_DIST_IS_RELEASE instead. - Add a release_status key to the CPAN metadata. - Fix typo in CPAN recommends key. + - Improve test and author CPAN dependencies. [ Updated programs translations ] * Polish (Ćukasz Dulny). diff --git a/scripts/Build.PL.in b/scripts/Build.PL.in index 97da25645..376c04ceb 100644 --- a/scripts/Build.PL.in +++ b/scripts/Build.PL.in @@ -68,6 +68,26 @@ my $build = $class->new( module_name => '@PACKAGE_CPAN_NAME@', meta_merge => { + 'meta-spec' => { + version => 2, + }, + prereqs => { + test => { + recommends => { + 'Test::Pod' => 0, + 'Test::Strict' => 0, + }, + }, + develop => { + recommends => { + 'Test::MinimumVersion' => 0, + 'Test::Perl::Critic' => 0, + 'Test::Pod::Coverage' => 0, + 'Test::Spelling' => 0, + 'Test::Synopsis' => 0, + }, + }, + }, resources => { homepage => '@PACKAGE_URL@', repository => { @@ -91,8 +111,6 @@ my $build = $class->new( test_requires => { 'TAP::Harness' => 0, 'Test::More' => 0, - 'Test::Pod' => 0, - 'Test::Strict' => 0, }, recommends => { 'Algorithm::Merge' => 0, -- Dpkg.Org's dpkg

