utils/scancpan: bump required perl version

As the comment in package/perl/perl.mk instructs, bumping the perl
version must be propagated to utils/scancpan as well.

However, commit 7c1ef8129f (package/perl: bump to version 5.34.0)
forgot to do so.

Fixes: 7c1ef8129f

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Yann E. MORIN 2022-12-20 17:20:03 +01:00
parent 072df09e2f
commit 4cbef389f3

View File

@ -488,9 +488,9 @@ use Digest::SHA qw(sha256_hex);
use Text::Wrap;
$Text::Wrap::columns = 62;
# Below, 5.032 should be aligned with the version of perl actually
# Below, 5.034 should be aligned with the version of perl actually
# bundled in Buildroot:
die <<"MSG" if $] < 5.032;
die <<"MSG" if $] < 5.034;
This script needs a host perl with the same major version as Buildroot target perl.
Your current host perl is:
@ -498,7 +498,7 @@ Your current host perl is:
version $]
You may install a local one by running:
perlbrew install perl-5.32.0
perlbrew install perl-5.34.0
MSG
my ($help, $man, $quiet, $force, $recommend, $test, $host);