Subject: | [PATCH] Temp::File 0.19 is needed |
Date: | Wed, 23 Jan 2008 15:30:12 -0200 |
To: | bug-Compress-LZMA-External [...] rt.cpan.org, "Leon Brocard" <acme [...] astray.com> |
From: | "Adriano Ferreira" <a.r.ferreira [...] gmail.com> |
Hi, Leon.
Your recently uploaded Compress-LZMA-External distribution shows a lot
of failures. Some of them are like this one:
http://www.nntp.perl.org/group/perl.cpan.testers/2008/01/msg984413.html
which, when looked closer, shows that the usage of
"File::Temp->newdir" requires a certain (reasonably recent) version
File::Temp. And this minimum version is 0.19.
You find attached a patch to get rid of this issue.
Kind regards,
Adriano Ferreira
diff -ru Compress-LZMA-External-0.33/CHANGES Compress-LZMA-External/CHANGES
--- Compress-LZMA-External-0.33/CHANGES 2008-01-21 05:30:02.000000000 -0200
+++ Compress-LZMA-External/CHANGES 2008-01-23 15:16:44.000000000 -0200
@@ -1,5 +1,8 @@
CHANGES file for Compress::LZMA::External:
+?
+ - File::Temp 0.19 is required (implements File::Temp->newdir)
+
0.33 Mon Jan 21 07:29:57 GMT 2008
- update docs
- only export functions upon request
diff -ru Compress-LZMA-External-0.33/lib/Compress/LZMA/External.pm
Compress-LZMA-External/lib/Compress/LZMA/External.pm
--- Compress-LZMA-External-0.33/lib/Compress/LZMA/External.pm
2008-01-21 05:29:22.000000000 -0200
+++ Compress-LZMA-External/lib/Compress/LZMA/External.pm
2008-01-23 15:14:03.000000000 -0200
@@ -2,7 +2,7 @@
use strict;
use warnings;
use File::Spec::Functions;
-use File::Temp qw(tempfile);
+use File::Temp 0.19 qw(tempfile);
use IO::File;
our @ISA = qw(Exporter);
our @EXPORT_OK = qw(compress decompress);
diff -ru Compress-LZMA-External-0.33/Makefile.PL
Compress-LZMA-External/Makefile.PL
--- Compress-LZMA-External-0.33/Makefile.PL 2008-01-20
13:21:14.000000000 -0200
+++ Compress-LZMA-External/Makefile.PL 2008-01-23 15:14:41.000000000 -0200
@@ -23,7 +23,10 @@
VERSION_FROM => 'lib/Compress/LZMA/External.pm',
AUTHOR => 'Leon Brocard <acme@astray.com>',
LICENSE => 'perl',
- PREREQ_PM => { 'Test::More' => '0', }
+ PREREQ_PM => {
+ 'File::Temp' => '0.19',
+ 'Test::More' => '0',
+ }
);
Message body is not shown because sender requested not to inline it.