about summary refs log tree commit
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2014-05-30 23:03:08 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2014-05-30 23:03:08 +0100
commit346eaf39cf7d85396eec453ddd76c859efcf3cd7 (patch)
tree1d0e551f9fd32153891252e81064079eda341d65
parent380d2378095be7a903c92a869fb3de3d949c6747 (diff)
downloadperl-libnet-346eaf39cf7d85396eec453ddd76c859efcf3cd7.tar.gz
Simplify Makefile.PL requirements
Requirements accumulate from one phase to the next ('configure' -> 'build'
(which also requires 'runtime' requirements) -> 'test') so there is no need
for 'test' to list requirements already listed for 'configure', 'build' or
'runtime' (or for 'build' to list requirements already listed for
'configure' or 'runtime').

(However, 'runtime' must still list everything required after installation,
but does not need to list 'perl' since 'runtime' is the phase that
'MIN_PERL_VERSION' is applied to anyway.)
-rw-r--r--Changes2
-rw-r--r--Makefile.PL6
2 files changed, 2 insertions, 6 deletions
diff --git a/Changes b/Changes
index 66486fd..cf51dce 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,6 @@
 libnet 1.27  -- TODO
 
-  * TODO
+  * Simplified Makefile.PL requirements.
 
 libnet 1.26  -- Fri May 30 2014
 
diff --git a/Makefile.PL b/Makefile.PL
index 5575562..7e21e3c 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -101,10 +101,7 @@ MAIN: {
         },
 
         TEST_REQUIRES => {
-            'Cwd'      => '0',
-            'IO::File' => '0',
-            'perl'     => '5.008001',
-            'strict'   => '0'
+            'Cwd' => '0'
         },
 
         PREREQ_PM => {
@@ -121,7 +118,6 @@ MAIN: {
             'Socket'         => '1.3',
             'Symbol'         => '0',
             'Time::Local'    => '0',
-            'perl'           => '5.008001',
             'strict'         => '0',
             'vars'           => '0'
         },