Subject: | File::Slurp is incorrectly declared as a runtime prereq |
File::Slurp is only used in tests, but is declared as a runtime prereq, which causes it to be installed even on systems that wish to skip test prerequisites.
I couldn't find a git repository, so attached is a patch.
Subject: | 0001-fix-declaration-of-test-prereqs.patch |
From ba13cdd513e7d0d6d61fe8ab7daa7c6b6167f7e6 Mon Sep 17 00:00:00 2001
From: Karen Etheridge <ether@cpan.org>
Date: Thu, 24 Sep 2015 15:32:13 -0700
Subject: [PATCH 1/2] fix declaration of test prereqs
---
Makefile.PL | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile.PL b/Makefile.PL
index abfee23..d5fb537 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -19,7 +19,10 @@ WriteMakefile(
'DateTime::Format::Strptime' => 0,
'HTTP::Request' => 0,
'URI::Escape' => 0,
- 'File::Slurp' => 0, # used by tests
+ },
+ TEST_REQUIRES => {
+ 'Test::More' => 0,
+ 'File::Slurp' => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Net-Amazon-Signature-V4-*' },
--
2.4.5