Subject: | Version test for Pod::Test is broken |
The version test for Pod::Test in 00-pod.t will always skip the actual test since the eval never returns true (using perl-5.22). The attached patch fixes the issue for this test, but other considerations may suggest something different.
Subject: | perl-Net-DNS.src.patch |
--- origsrc/Net-DNS-1.01/t/00-pod.t 2015-07-06 14:24:47.000000000 +0200
+++ src/Net-DNS-1.01/t/00-pod.t 2015-07-11 10:57:46.681317000 +0200
@@ -3,17 +3,7 @@
use strict;
use Test::More;
-
-my %prerequisite = qw(
- Test::Pod 1.45
- );
-
-while ( my ( $package, $rev ) = each %prerequisite ) {
- next if eval "use $package $rev";
- plan skip_all => "$package $rev required for testing POD";
- exit;
-}
-
+use Test::Pod 1.45;
my @poddirs = qw( blib demo );
my @allpods = all_pod_files(@poddirs);