Subject: | ExtUtils-MakeMaker-7.48 rejects invalid MIN_PERL_VERSION values |
Building with ExtUtils-MakeMaker-7.48 fails. See CPAN RT#133489. An attached patch fixes it.
Subject: | URI-Fetch-0.13-Fix-MIN_PERL_VERSION.patch |
From 0210ff878a792ba167bfdcd27e93feae8efbf759 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Thu, 8 Oct 2020 12:48:44 +0200
Subject: [PATCH] Fix MIN_PERL_VERSION
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
ExtUtils-MakeMaker-7.48 rejects invalid MIN_PERL_VERSION values.
CPAN RT#133489
Signed-off-by: Petr PÃsaÅ <ppisar@redhat.com>
---
META.json | 2 +-
META.yml | 2 +-
Makefile.PL | 4 ++--
lib/URI/Fetch.pm | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/META.json b/META.json
index 974e2a1..7ac7ad1 100644
--- a/META.json
+++ b/META.json
@@ -28,7 +28,7 @@
"URI" : "0",
"base" : "0",
"constant" : "0",
- "perl" : "5.008_001",
+ "perl" : "5.008001",
"strict" : "0",
"warnings" : "0"
}
diff --git a/META.yml b/META.yml
index d8902d3..2b17d50 100644
--- a/META.yml
+++ b/META.yml
@@ -23,7 +23,7 @@ requires:
URI: '0'
base: '0'
constant: '0'
- perl: 5.008_001
+ perl: 5.008001
strict: '0'
warnings: '0'
resources:
diff --git a/Makefile.PL b/Makefile.PL
index d30a364..96baeaa 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -2,7 +2,7 @@
use strict;
use warnings;
-use 5.008_001;
+use 5.008001;
use ExtUtils::MakeMaker;
@@ -15,7 +15,7 @@ my %WriteMakefileArgs = (
"DISTNAME" => "URI-Fetch",
"EXE_FILES" => [],
"LICENSE" => "perl",
- "MIN_PERL_VERSION" => "5.008_001",
+ "MIN_PERL_VERSION" => "5.008001",
"NAME" => "URI::Fetch",
"PREREQ_PM" => {
"Carp" => 0,
diff --git a/lib/URI/Fetch.pm b/lib/URI/Fetch.pm
index 136669f..7615b54 100644
--- a/lib/URI/Fetch.pm
+++ b/lib/URI/Fetch.pm
@@ -1,6 +1,6 @@
package URI::Fetch;
$URI::Fetch::VERSION = '0.13';
-use 5.008_001;
+use 5.008001;
use strict;
use warnings;
--
2.25.4