build: Bump minimal Perl version to 5.28.1

The Perl version in Debian buster is 5.28.1, which is the release that
will be oldstable once 1.21.x gets uploaded to Debian unstable.
This commit is contained in:
Guillem Jover
2021-01-21 10:48:17 +01:00
parent a71cf6568e
commit 3c76c1235e
3 changed files with 3 additions and 3 deletions

View File

@ -326,7 +326,7 @@ Perl version
We don't want to impose a too-recent Perl version, so only use features
supported by the Perl version that is currently in Debian oldstable when
possible. Currently that means Perl 5.24.1.
possible. Currently that means Perl 5.28.1.
Object methods
~~~~~~~~~~~~~~

View File

@ -8,7 +8,7 @@
# Locate perl interpreter in the path
AC_DEFUN([DPKG_PROG_PERL], [
AC_ARG_VAR([PERL], [Perl interpreter])dnl
m4_define([_PERL_MIN_VERSION], [5.24.1])
m4_define([_PERL_MIN_VERSION], [5.28.1])
AC_SUBST([PERL_MIN_VERSION], [_PERL_MIN_VERSION])
AC_CACHE_CHECK([for perl >= _PERL_MIN_VERSION], [ac_cv_path_PERL], [
AC_PATH_PROGS_FEATURE_CHECK([PERL], [perl], [

View File

@ -28,5 +28,5 @@ my @files = Test::Dpkg::all_perl_files();
plan tests => scalar @files;
for my $file (@files) {
minimum_version_ok($file, '5.24.1');
minimum_version_ok($file, '5.28.1');
}