net/p5-Net-Gnats: fix with Perl 5.36

This commit is contained in:
Mathieu Arnold 2022-06-01 14:28:40 +02:00
parent 759140287f
commit 41f78546c3
No known key found for this signature in database
GPG key ID: 29EB0902911D7E02

View file

@ -0,0 +1,52 @@
--- META.json.orig 2015-11-08 02:20:30 UTC
+++ META.json
@@ -33,7 +33,7 @@
},
"runtime" : {
"requires" : {
- "perl" : "5.010_000",
+ "perl" : "5.010",
"strictures" : "0"
}
}
--- META.yml.orig 2015-11-08 02:20:30 UTC
+++ META.yml
@@ -19,7 +19,7 @@ no_index:
- t
- inc
requires:
- perl: 5.010_000
+ perl: 5.010
strictures: '0'
version: '0.22'
x_serialization_backend: 'CPAN::Meta::YAML version 0.016'
--- Makefile.PL.orig 2015-11-08 02:14:07 UTC
+++ Makefile.PL
@@ -5,6 +5,6 @@ WriteMakefile(
VERSION_FROM => 'lib/Net/Gnats.pm',
AUTHOR => 'Richard Elberger <riche@cpan.org>, ',
ABSTRACT => 'Interface to GNU Gnats Daemon',
- MIN_PERL_VERSION => '5.010_000',
+ MIN_PERL_VERSION => '5.010',
PREREQ_PM => { 'strictures' => 0 },
TEST_REQUIRES => { 'Test::MockObject' => 0 }, );
--- lib/Net/Gnats.pm.orig 2015-11-08 02:19:19 UTC
+++ lib/Net/Gnats.pm
@@ -2,7 +2,7 @@ package Net::Gnats;
BEGIN {
$Net::Gnats::VERSION = '0.22';
}
-use 5.010_000;
+use 5.010;
use utf8;
use strictures;
use English '-no_match_vars';
--- lib/Net/Gnats/PR.pm.orig 2015-11-08 02:18:04 UTC
+++ lib/Net/Gnats/PR.pm
@@ -1,5 +1,5 @@
package Net::Gnats::PR;
-use 5.010_000;
+use 5.010;
use utf8;
use strictures;