]> err.no Git - dpkg/commitdiff
dpkg-scanpackages: Use @pkg_dep_fields from Dpkg::Deps
authorRaphael Hertzog <hertzog@debian.org>
Thu, 18 Oct 2007 06:20:23 +0000 (08:20 +0200)
committerRaphael Hertzog <hertzog@debian.org>
Thu, 18 Oct 2007 12:30:16 +0000 (14:30 +0200)
scripts/dpkg-scanpackages.pl

index c7ece3577ca5618dcef8c75569fab9ecdb4b2d01..14774b7fda1af88a808919b2af129af2d0abe668 100755 (executable)
@@ -7,13 +7,12 @@ use IO::Handle;
 use IO::File;
 use Dpkg;
 use Dpkg::Gettext;
+use Dpkg::Deps qw(@pkg_dep_fields);
 
 push(@INC,$dpkglibdir);
 require 'controllib.pl';
 textdomain("dpkg-dev");
 
-our @pkg_dep_fields;
-
 my (@samemaint, @changedmaint);
 my %packages;
 my %overridden;