[dpkg] 101/192: perl: Remove unused use POSIX module imports

Ximin Luo infinity0 at debian.org
Tue Oct 17 11:04:05 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 6b15b128a22e4c825b8c32ccec56022baef1ac38
Author: Guillem Jover <guillem at debian.org>
Date:   Fri Jul 14 00:31:49 2017 +0200

    perl: Remove unused use POSIX module imports
---
 debian/changelog                  | 1 +
 scripts/Dpkg/Arch.pm              | 1 -
 scripts/Dpkg/Source/Package/V2.pm | 1 -
 scripts/Dpkg/Substvars.pm         | 2 --
 scripts/dpkg-shlibdeps.pl         | 1 -
 5 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1a8ed95..d6fea6f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,7 @@ dpkg (1.19.0) UNRELEASED; urgency=medium
     - Mark ppc64 as having gcc builtin PIE in Dpkg::Vendor::Debian.
     - Make the Dpkg::Substvars warnings output deterministic.
       Thanks to Chris Lamb <lamby at debian.org>. Closes: #870221
+    - Remove unused POSIX module imports.
   * Documentation:
     - Document currently accepted syntax for changelogs in deb-changelog(5).
       Closes: #858579
diff --git a/scripts/Dpkg/Arch.pm b/scripts/Dpkg/Arch.pm
index c6321a5..85b2761 100644
--- a/scripts/Dpkg/Arch.pm
+++ b/scripts/Dpkg/Arch.pm
@@ -96,7 +96,6 @@ our %EXPORT_TAGS = (
 
 use Exporter qw(import);
 use List::Util qw(any);
-use POSIX qw(:errno_h);
 
 use Dpkg ();
 use Dpkg::Gettext;
diff --git a/scripts/Dpkg/Source/Package/V2.pm b/scripts/Dpkg/Source/Package/V2.pm
index d9cee62..4abb786 100644
--- a/scripts/Dpkg/Source/Package/V2.pm
+++ b/scripts/Dpkg/Source/Package/V2.pm
@@ -21,7 +21,6 @@ use warnings;
 
 our $VERSION = '0.01';
 
-use POSIX qw(:errno_h);
 use List::Util qw(first);
 use Cwd;
 use File::Basename;
diff --git a/scripts/Dpkg/Substvars.pm b/scripts/Dpkg/Substvars.pm
index 19d8516..920d161 100644
--- a/scripts/Dpkg/Substvars.pm
+++ b/scripts/Dpkg/Substvars.pm
@@ -21,8 +21,6 @@ use warnings;
 
 our $VERSION = '1.05';
 
-use POSIX qw(:errno_h);
-
 use Dpkg ();
 use Dpkg::Arch qw(get_host_arch);
 use Dpkg::Version;
diff --git a/scripts/dpkg-shlibdeps.pl b/scripts/dpkg-shlibdeps.pl
index 2ca35ba..323fba9 100755
--- a/scripts/dpkg-shlibdeps.pl
+++ b/scripts/dpkg-shlibdeps.pl
@@ -26,7 +26,6 @@ use warnings;
 use feature qw(state);
 
 use List::Util qw(any none);
-use POSIX qw(:errno_h);
 use Cwd qw(realpath);
 use File::Basename qw(dirname);
 

-- 
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