The following commit has been merged in the master branch:
commit a3f98a7e4789d00a71817e33b3571c290b1abb5a
Author: Guillem Jover <[email protected]>
Date: Thu Jul 25 01:31:56 2013 +0200
scripts: Use () instead of qw() for empty imports
diff --git a/scripts/Dpkg/Arch.pm b/scripts/Dpkg/Arch.pm
index a905cf6..8f37acb 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 c641587..6a940f2 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 f7d860e..5ca2236 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 3b88534..f9aeeef 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 0da68b6..d29e775 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 0fc3651..81e5725 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 669e032..9ea91f9 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 18f1fda..04eee93 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 e17e9fb..a432092 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 d69f929..ccd8c9f 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 723a3b0..8030091 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 3b1f8ff..710a261 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 108f034..d9e40e1 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 5dd24dd..b816f15 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 a0eb8ba..0b004c7 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 263883e..16b0fdd 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 28a788d..e02ea6e 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 85a53e7..8044e7e 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 7f862fa..98c8fba 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 b7b92ef..5736895 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 283e403..c44b050 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 42372f0..e872254 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 9485397..c533790 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 bed3306..e5d5a26 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 fcff4b1..7d3bb41 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 fb9b976..75a9b69 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');
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]