summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog3
-rw-r--r--doc/coding-style.txt4
-rw-r--r--m4/dpkg-progs.m42
-rw-r--r--t/minimum-version.t2
4 files changed, 6 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog
index 1535934c3..fbb052dd8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
dpkg (1.19.0) UNRELEASED; urgency=medium
- *
+ * Build system:
+ - Require Perl 5.20.2, the version in Debian oldstable (jessie).
-- Guillem Jover <guillem@debian.org> Thu, 18 May 2017 05:27:31 +0200
diff --git a/doc/coding-style.txt b/doc/coding-style.txt
index 0e07806e4..7f2b6dc7b 100644
--- a/doc/coding-style.txt
+++ b/doc/coding-style.txt
@@ -287,7 +287,7 @@ see what operation is being done:
foo();
-Dpkg Perl coding style 2016-01-29
+Dpkg Perl coding style 2017-05-18
======================
General
@@ -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.14.2.
+possible. Currently that means Perl 5.20.2.
Object methods
~~~~~~~~~~~~~~
diff --git a/m4/dpkg-progs.m4 b/m4/dpkg-progs.m4
index 166bc8b1e..80673f438 100644
--- a/m4/dpkg-progs.m4
+++ b/m4/dpkg-progs.m4
@@ -7,7 +7,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.14.2])
+ m4_define([PERL_MIN_VERSION], [5.20.2])
AC_CACHE_CHECK([for perl >= PERL_MIN_VERSION], [ac_cv_path_PERL], [
AC_PATH_PROGS_FEATURE_CHECK([PERL], [perl], [
perlcheck=$(test -x $ac_path_PERL && \
diff --git a/t/minimum-version.t b/t/minimum-version.t
index df059d98d..10a55630d 100644
--- a/t/minimum-version.t
+++ b/t/minimum-version.t
@@ -28,5 +28,5 @@ my @files = Test::Dpkg::all_perl_files();
plan tests => scalar @files;
for my $file (@files) {
- minimum_version_ok($file, '5.14.2');
+ minimum_version_ok($file, '5.20.2');
}