Test::More is listed as runtime requirement. This breaks RPM packaging
for older distributions that require the core modules to be listed in
the depends. (cpanspec -o basically).
Propose to move Test::More requirements in Makefile.PL to build reqs.
--- Makefile.PL 2010-10-16 16:26:44.000000000 -0400
+++ ../Makefile.PL 2012-03-28 13:23:50.000000000 -0400
@@ -11,7 +11,9 @@
my %WriteMakefileArgs = (
'ABSTRACT' => 'Parse and format strp and strf time patterns',
'AUTHOR' => 'Dave Rolsky <autarch@urth.org>',
- 'BUILD_REQUIRES' => {},
+ 'BUILD_REQUIRES' => {
+ 'Test::More' => '0.88'
+ },
'CONFIGURE_REQUIRES' => {
'ExtUtils::MakeMaker' => '6.31'
},
@@ -20,11 +22,10 @@
'LICENSE' => 'artistic_2',
'NAME' => 'DateTime::Format::Strptime',
'PREREQ_PM' => {
- 'DateTime' => '0.4304',
+ 'DateTime' => '0.44',
'DateTime::Locale' => '0.45',
'DateTime::TimeZone' => '0.79',
'Params::Validate' => '0.64',
- 'Test::More' => '0.88'
},
'VERSION' => '1.5000',
'test' => {
This is perl, v5.8.8 built for x86_64-linux-thread-multi
2.6.18-274.12.1.el5 #1 SMP Tue Nov 8 21:37:35 EST 2011 x86_64 x86_64
x86_64 GNU/Linux
RedHat EL5