Skip Menu |
 

This queue is for tickets about the Net-Amazon-Signature-V4 CPAN distribution.

Report information
The Basics
Id: 107308
Status: resolved
Priority: 0/
Queue: Net-Amazon-Signature-V4

People
Owner: Nobody in particular
Requestors: ether [...] cpan.org
Cc: DBOOK [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Attachments
0001-fix-declaration-of-test-prereqs.patch



Subject: File::Slurp is incorrectly declared as a runtime prereq
Download (untitled) / with headers
text/plain 217b
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
Fixed in 0.16


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.