[SCM] Git repository for devscripts branch, master, updated. v2.13.2-9-g07e500e

James McCoy jamessan at debian.org
Tue Jun 11 23:19:03 UTC 2013


The following commit has been merged in the master branch:
commit 07e500ec7658e81139f612a1ad70bcf645667604
Author: James McCoy <jamessan at debian.org>
Date:   Tue Jun 11 19:18:21 2013 -0400

    Suppress "given/when is experimental" warnings when using Perl 5.18.
    
    Signed-off-by: James McCoy <jamessan at debian.org>

diff --git a/debian/changelog b/debian/changelog
index 857a813..ceb77e6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ devscripts (2.13.3) UNRELEASED; urgency=low
   [ James McCoy ]
   * dpkg-buildpackage: Use "dpkg-checkbuilddeps -A" for arch-indep builds.
     Bump dpkg-dev Depends to 1.16.4 accordingly.
+  * Suppress "given/when is experimental" warnings when using Perl 5.18.
 
   [ Chris Boot ]
   * bts: Fix no-mutt option. (Closes: #709999)
diff --git a/scripts/chdist.pl b/scripts/chdist.pl
index 1588765..379a2c0 100755
--- a/scripts/chdist.pl
+++ b/scripts/chdist.pl
@@ -128,6 +128,7 @@ License, or (at your option) any later version.
 
 use strict;
 use warnings;
+no if $] >= 5.018, 'warnings', 'experimental::smartmatch';
 use feature 'switch';
 use File::Copy qw(cp);
 use File::Path qw(make_path);
diff --git a/scripts/debcheckout.pl b/scripts/debcheckout.pl
index cec2203..8e1dd61 100755
--- a/scripts/debcheckout.pl
+++ b/scripts/debcheckout.pl
@@ -231,9 +231,10 @@ B<debcheckout> and this manpage have been written by Stefano Zacchiroli
 
 =cut
 
-use feature 'switch';
 use strict;
 use warnings;
+no if $] >= 5.018, 'warnings', 'experimental::smartmatch';
+use feature 'switch';
 use Getopt::Long qw(:config gnu_getopt);
 use Pod::Usage;
 use File::Basename;

-- 
Git repository for devscripts



More information about the devscripts-devel mailing list