[dpkg] 34/192: doc: Bump minimal Perl version to 5.20.2

Ximin Luo infinity0 at debian.org
Tue Oct 17 11:03:55 UTC 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch pu/reproducible_builds
in repository dpkg.

commit 810aa7aec63ded6de321bab69cd1b5e725a0fff1
Author: Guillem Jover <guillem at debian.org>
Date:   Thu May 18 05:56:23 2017 +0200

    doc: Bump minimal Perl version to 5.20.2
    
    The Perl version in Debian jessie is 5.20.2, which is the release that
    will be oldstable once 1.19.x gets uploaded to Debian unstable.
---
 debian/changelog     | 3 ++-
 doc/coding-style.txt | 4 ++--
 m4/dpkg-progs.m4     | 2 +-
 t/minimum-version.t  | 2 +-
 4 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1535934..fbb052d 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 at debian.org>  Thu, 18 May 2017 05:27:31 +0200
 
diff --git a/doc/coding-style.txt b/doc/coding-style.txt
index 0e07806..7f2b6dc 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 166bc8b..80673f4 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 df059d9..10a5563 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');
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list