summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2013-07-25 01:31:56 +0200
committerGuillem Jover <guillem@debian.org>2013-07-26 23:53:33 +0200
commita3f98a7e4789d00a71817e33b3571c290b1abb5a (patch)
tree7f526a27c5d5157ee042efb9e5be21eafd2a995a
parent7b73dab6a83ae643361ae5868649a6e2f1b05139 (diff)
downloaddpkg-a3f98a7e4789d00a71817e33b3571c290b1abb5a.tar.gz
scripts: Use () instead of qw() for empty imports
-rw-r--r--scripts/Dpkg/Arch.pm2
-rw-r--r--scripts/Dpkg/BuildFlags.pm2
-rw-r--r--scripts/Dpkg/Changelog/Parse.pm2
-rw-r--r--scripts/Dpkg/ErrorHandling.pm2
-rw-r--r--scripts/Dpkg/Shlibs/Symbol.pm2
-rw-r--r--scripts/Dpkg/Source/Package/V1.pm2
-rw-r--r--scripts/Dpkg/Substvars.pm2
-rw-r--r--scripts/Dpkg/Vendor.pm2
-rwxr-xr-xscripts/changelog/debian.pl2
-rwxr-xr-xscripts/dpkg-architecture.pl2
-rwxr-xr-xscripts/dpkg-buildflags.pl2
-rwxr-xr-xscripts/dpkg-buildpackage.pl2
-rwxr-xr-xscripts/dpkg-checkbuilddeps.pl2
-rwxr-xr-xscripts/dpkg-distaddfile.pl2
-rwxr-xr-xscripts/dpkg-genchanges.pl2
-rwxr-xr-xscripts/dpkg-gencontrol.pl2
-rwxr-xr-xscripts/dpkg-gensymbols.pl2
-rwxr-xr-xscripts/dpkg-mergechangelogs.pl2
-rwxr-xr-xscripts/dpkg-name.pl2
-rwxr-xr-xscripts/dpkg-parsechangelog.pl2
-rwxr-xr-xscripts/dpkg-scanpackages.pl2
-rwxr-xr-xscripts/dpkg-scansources.pl2
-rwxr-xr-xscripts/dpkg-shlibdeps.pl2
-rwxr-xr-xscripts/dpkg-source.pl2
-rwxr-xr-xscripts/dpkg-vendor.pl2
-rw-r--r--scripts/t/750_Dpkg_Substvars.t2
26 files changed, 26 insertions, 26 deletions
diff --git a/scripts/Dpkg/Arch.pm b/scripts/Dpkg/Arch.pm
index a905cf6fd..8f37acbcc 100644
--- a/scripts/Dpkg/Arch.pm
+++ b/scripts/Dpkg/Arch.pm
@@ -31,7 +31,7 @@ our @EXPORT_OK = qw(get_raw_build_arch get_raw_host_arch
gnutriplet_to_multiarch debarch_to_multiarch);
use POSIX qw(:errno_h);
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::Util qw(:list);
diff --git a/scripts/Dpkg/BuildFlags.pm b/scripts/Dpkg/BuildFlags.pm
index c6415874e..6a940f2be 100644
--- a/scripts/Dpkg/BuildFlags.pm
+++ b/scripts/Dpkg/BuildFlags.pm
@@ -20,7 +20,7 @@ use warnings;
our $VERSION = '1.03';
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Gettext;
use Dpkg::BuildEnv;
use Dpkg::BuildOptions;
diff --git a/scripts/Dpkg/Changelog/Parse.pm b/scripts/Dpkg/Changelog/Parse.pm
index f7d860e3d..5ca2236e8 100644
--- a/scripts/Dpkg/Changelog/Parse.pm
+++ b/scripts/Dpkg/Changelog/Parse.pm
@@ -36,7 +36,7 @@ use warnings;
our $VERSION = '1.00';
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::Control::Changelog;
diff --git a/scripts/Dpkg/ErrorHandling.pm b/scripts/Dpkg/ErrorHandling.pm
index 3b885346a..f9aeeef81 100644
--- a/scripts/Dpkg/ErrorHandling.pm
+++ b/scripts/Dpkg/ErrorHandling.pm
@@ -18,7 +18,7 @@ use warnings;
our $VERSION = '0.01';
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Gettext;
use Exporter qw(import);
diff --git a/scripts/Dpkg/Shlibs/Symbol.pm b/scripts/Dpkg/Shlibs/Symbol.pm
index 0da68b68e..d29e775fc 100644
--- a/scripts/Dpkg/Shlibs/Symbol.pm
+++ b/scripts/Dpkg/Shlibs/Symbol.pm
@@ -26,7 +26,7 @@ use Dpkg::Deps;
use Dpkg::ErrorHandling;
use Dpkg::Util qw(:list);
use Dpkg::Version;
-use Storable qw();
+use Storable ();
use Dpkg::Shlibs::Cppfilt;
# Supported alias types in the order of matching preference
diff --git a/scripts/Dpkg/Source/Package/V1.pm b/scripts/Dpkg/Source/Package/V1.pm
index 0fc365193..81e5725c8 100644
--- a/scripts/Dpkg/Source/Package/V1.pm
+++ b/scripts/Dpkg/Source/Package/V1.pm
@@ -22,7 +22,7 @@ our $VERSION = '0.01';
use parent qw(Dpkg::Source::Package);
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::Compression;
diff --git a/scripts/Dpkg/Substvars.pm b/scripts/Dpkg/Substvars.pm
index 669e032f3..9ea91f90c 100644
--- a/scripts/Dpkg/Substvars.pm
+++ b/scripts/Dpkg/Substvars.pm
@@ -21,7 +21,7 @@ use warnings;
our $VERSION = '1.02';
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Arch qw(get_host_arch);
use Dpkg::ErrorHandling;
use Dpkg::Gettext;
diff --git a/scripts/Dpkg/Vendor.pm b/scripts/Dpkg/Vendor.pm
index 18f1fda2d..04eee93f1 100644
--- a/scripts/Dpkg/Vendor.pm
+++ b/scripts/Dpkg/Vendor.pm
@@ -20,7 +20,7 @@ use warnings;
our $VERSION = '1.01';
-use Dpkg qw();
+use Dpkg ();
use Dpkg::ErrorHandling;
use Dpkg::Gettext;
use Dpkg::BuildEnv;
diff --git a/scripts/changelog/debian.pl b/scripts/changelog/debian.pl
index e17e9fba9..a4320922c 100755
--- a/scripts/changelog/debian.pl
+++ b/scripts/changelog/debian.pl
@@ -24,7 +24,7 @@ use warnings;
use Getopt::Long qw(:config posix_default bundling no_ignorecase);
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::Changelog::Debian;
diff --git a/scripts/dpkg-architecture.pl b/scripts/dpkg-architecture.pl
index d69f92989..ccd8c9f04 100755
--- a/scripts/dpkg-architecture.pl
+++ b/scripts/dpkg-architecture.pl
@@ -22,7 +22,7 @@
use strict;
use warnings;
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::Arch qw(get_raw_build_arch get_raw_host_arch get_gcc_host_gnu_type
diff --git a/scripts/dpkg-buildflags.pl b/scripts/dpkg-buildflags.pl
index 723a3b08b..8030091be 100755
--- a/scripts/dpkg-buildflags.pl
+++ b/scripts/dpkg-buildflags.pl
@@ -21,7 +21,7 @@
use strict;
use warnings;
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Gettext;
use Dpkg::ErrorHandling qw(:DEFAULT report);
use Dpkg::BuildFlags;
diff --git a/scripts/dpkg-buildpackage.pl b/scripts/dpkg-buildpackage.pl
index 3b1f8ff8e..710a26159 100755
--- a/scripts/dpkg-buildpackage.pl
+++ b/scripts/dpkg-buildpackage.pl
@@ -27,7 +27,7 @@ use Cwd;
use File::Basename;
use POSIX qw(:sys_wait_h);
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::BuildOptions;
diff --git a/scripts/dpkg-checkbuilddeps.pl b/scripts/dpkg-checkbuilddeps.pl
index 108f034cf..d9e40e1cd 100755
--- a/scripts/dpkg-checkbuilddeps.pl
+++ b/scripts/dpkg-checkbuilddeps.pl
@@ -24,7 +24,7 @@ use warnings;
use Getopt::Long qw(:config posix_default bundling no_ignorecase);
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::Arch qw(get_host_arch);
diff --git a/scripts/dpkg-distaddfile.pl b/scripts/dpkg-distaddfile.pl
index 5dd24dd75..b816f15e1 100755
--- a/scripts/dpkg-distaddfile.pl
+++ b/scripts/dpkg-distaddfile.pl
@@ -22,7 +22,7 @@ use strict;
use warnings;
use POSIX qw(:errno_h :fcntl_h);
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::File;
diff --git a/scripts/dpkg-genchanges.pl b/scripts/dpkg-genchanges.pl
index a0eb8ba75..0b004c774 100755
--- a/scripts/dpkg-genchanges.pl
+++ b/scripts/dpkg-genchanges.pl
@@ -24,7 +24,7 @@ use warnings;
use Encode;
use POSIX qw(:errno_h);
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Gettext;
use Dpkg::Util qw(:list);
use Dpkg::File;
diff --git a/scripts/dpkg-gencontrol.pl b/scripts/dpkg-gencontrol.pl
index 263883ed8..16b0fddbe 100755
--- a/scripts/dpkg-gencontrol.pl
+++ b/scripts/dpkg-gencontrol.pl
@@ -23,7 +23,7 @@ use strict;
use warnings;
use POSIX qw(:errno_h :fcntl_h);
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::Util qw(:list);
diff --git a/scripts/dpkg-gensymbols.pl b/scripts/dpkg-gensymbols.pl
index 28a788da5..e02ea6e30 100755
--- a/scripts/dpkg-gensymbols.pl
+++ b/scripts/dpkg-gensymbols.pl
@@ -21,7 +21,7 @@
use strict;
use warnings;
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Arch qw(get_host_arch);
use Dpkg::Package;
use Dpkg::Shlibs qw(@librarypaths);
diff --git a/scripts/dpkg-mergechangelogs.pl b/scripts/dpkg-mergechangelogs.pl
index 85a53e714..8044e7ec2 100755
--- a/scripts/dpkg-mergechangelogs.pl
+++ b/scripts/dpkg-mergechangelogs.pl
@@ -19,7 +19,7 @@
use warnings;
use strict;
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Changelog::Debian;
use Dpkg::ErrorHandling;
use Dpkg::Gettext;
diff --git a/scripts/dpkg-name.pl b/scripts/dpkg-name.pl
index 7f862fa01..98c8fba09 100755
--- a/scripts/dpkg-name.pl
+++ b/scripts/dpkg-name.pl
@@ -24,7 +24,7 @@ use strict;
use File::Basename;
use File::Path;
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::Control;
diff --git a/scripts/dpkg-parsechangelog.pl b/scripts/dpkg-parsechangelog.pl
index b7b92efe8..5736895a2 100755
--- a/scripts/dpkg-parsechangelog.pl
+++ b/scripts/dpkg-parsechangelog.pl
@@ -22,7 +22,7 @@
use strict;
use warnings;
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::Changelog::Parse;
diff --git a/scripts/dpkg-scanpackages.pl b/scripts/dpkg-scanpackages.pl
index 283e4033a..c44b050a7 100755
--- a/scripts/dpkg-scanpackages.pl
+++ b/scripts/dpkg-scanpackages.pl
@@ -24,7 +24,7 @@ use IO::Handle;
use IO::File;
use Getopt::Long qw(:config posix_default bundling no_ignorecase);
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::Util qw(:list);
diff --git a/scripts/dpkg-scansources.pl b/scripts/dpkg-scansources.pl
index 42372f0e7..e872254a0 100755
--- a/scripts/dpkg-scansources.pl
+++ b/scripts/dpkg-scansources.pl
@@ -22,7 +22,7 @@ use warnings;
use Getopt::Long qw(:config posix_default bundling no_ignorecase);
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::Util qw(:list);
diff --git a/scripts/dpkg-shlibdeps.pl b/scripts/dpkg-shlibdeps.pl
index 948539747..c533790a1 100755
--- a/scripts/dpkg-shlibdeps.pl
+++ b/scripts/dpkg-shlibdeps.pl
@@ -28,7 +28,7 @@ use POSIX qw(:errno_h);
use Cwd qw(realpath);
use File::Basename qw(dirname);
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::Util qw(:list);
diff --git a/scripts/dpkg-source.pl b/scripts/dpkg-source.pl
index bed3306c5..e5d5a26eb 100755
--- a/scripts/dpkg-source.pl
+++ b/scripts/dpkg-source.pl
@@ -28,7 +28,7 @@
use strict;
use warnings;
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::Util qw(:list);
diff --git a/scripts/dpkg-vendor.pl b/scripts/dpkg-vendor.pl
index fcff4b196..7d3bb410c 100755
--- a/scripts/dpkg-vendor.pl
+++ b/scripts/dpkg-vendor.pl
@@ -21,7 +21,7 @@
use strict;
use warnings;
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::Vendor qw(get_vendor_dir get_vendor_info get_current_vendor);
diff --git a/scripts/t/750_Dpkg_Substvars.t b/scripts/t/750_Dpkg_Substvars.t
index fb9b9761f..75a9b69f5 100644
--- a/scripts/t/750_Dpkg_Substvars.t
+++ b/scripts/t/750_Dpkg_Substvars.t
@@ -18,7 +18,7 @@ use Test::More tests => 32;
use strict;
use warnings;
-use Dpkg qw();
+use Dpkg ();
use Dpkg::Arch qw(get_host_arch);
use_ok('Dpkg::Substvars');