mirror of
https://github.com/yaobinwen/dpkg.git
synced 2026-01-12 08:20:35 +00:00
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:
@ -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
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
@ -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], [
|
||||
|
||||
@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user