This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
correct declared min Perl version for Time-HiRes
authorZefram <zefram@fysh.org>
Wed, 19 Jul 2017 23:29:19 +0000 (00:29 +0100)
committerZefram <zefram@fysh.org>
Wed, 19 Jul 2017 23:29:19 +0000 (00:29 +0100)
Version 1.9727_03 of Time-HiRes introduced into Makefile.PL a declaration
of the minimum required Perl version, but got it wrong.  It declared a
minimum of 5.8, but the module itself only demands 5.6, and it actually
works at least as far back as 5.6.1.  Change the declared minimum to 5.6.

dist/Time-HiRes/Changes
dist/Time-HiRes/HiRes.pm
dist/Time-HiRes/Makefile.PL
pod/perldelta.pod

index 0084af6..b0dbed1 100644 (file)
@@ -1,5 +1,9 @@
 Revision history for the Perl extension Time::HiRes.
 
+1.9743
+  - correct declared minimum Perl version (should be 5.6, was declared
+    as 5.8 since 1.9727_03)
+
 1.9742 [2017-04-16]
   - prefer 3-argument open: blead 1ae6ead9
   - fix dist/Time-HiRes/t/*.t that assumed '.' in @INC: blead 465db51d
index 386d30d..fbdc2b4 100644 (file)
@@ -28,7 +28,7 @@ our @EXPORT_OK = qw (usleep sleep ualarm alarm gettimeofday time tv_interval
                 stat lstat utime
                );
 
-our $VERSION = '1.9742';
+our $VERSION = '1.9743';
 our $XS_VERSION = $VERSION;
 $VERSION = eval $VERSION;
 
index ca4d4dc..08758b9 100644 (file)
@@ -936,7 +936,7 @@ sub doMakefile {
     }
 
     if ($ExtUtils::MakeMaker::VERSION >= 6.48) {
-       push @makefileopts, (MIN_PERL_VERSION => '5.008',);
+       push @makefileopts, (MIN_PERL_VERSION => '5.006',);
     }
 
     if ($ExtUtils::MakeMaker::VERSION >= 6.31) {
index 6f829b5..6befb01 100644 (file)
@@ -130,6 +130,10 @@ L<XXX> has been upgraded from version A.xx to B.yy.
 
 L<ExtUtils::CBuilder> has been upgraded from version 0.280225 to 0.280227.
 
+=item *
+
+L<Time::HiRes> has been upgraded from version 1.9742 to 1.9743.
+
 =back
 
 =head2 Removed Modules and Pragmata