Browse Source

Switch perl 822-date and changelog/debian as well to use the new Dpkg
module and its variables.

Guillem Jover 19 years ago
parent
commit
ae44c7ad2e
3 changed files with 5 additions and 4 deletions
  1. 2 0
      ChangeLog
  2. 2 1
      scripts/822-date.pl
  3. 1 3
      scripts/changelog/debian.pl

+ 2 - 0
ChangeLog

@@ -17,6 +17,8 @@
 	* scripts/dpkg-statoverride.pl: Likewise.
 	* scripts/install-info.pl: Likewise.
 	* scripts/update-alternatives.pl: Likewise.
+	* scripts/822-date.pl: Likewise.
+	* changelog/debian.pl: Likewise.
 
 	* scripts/controllib.pl (init_substvars): Remove comment about
 	$version needing to be a global variable set elsewhere.

+ 2 - 1
scripts/822-date.pl

@@ -3,7 +3,8 @@
 use strict;
 use warnings;
 
-our $dpkglibdir = "."; # This line modified by Makefile
+use Dpkg;
+
 push(@INC, $dpkglibdir);
 require 'dpkg-gettext.pl';
 textdomain("dpkg-dev");

+ 1 - 3
scripts/changelog/debian.pl

@@ -7,9 +7,7 @@
 use strict;
 use warnings;
 
-our $progname;
-our $version = '1.3.0'; # This line modified by Makefile
-our $dpkglibdir = "."; # This line modified by Makefile
+use Dpkg;
 
 push(@INC,$dpkglibdir);
 require 'controllib.pl';