diff options
author | Guillem Jover <guillem@debian.org> | 2019-08-10 02:51:10 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2019-11-26 02:42:44 +0100 |
commit | 88d2ceac86373a3ccc37fc7ceff1319a4528a889 (patch) | |
tree | 62b032a23cf82a82687f865568bbd93908f6d8dd /scripts | |
parent | b958054076c236d470f46f35b94ee16a032ed368 (diff) | |
download | dpkg-88d2ceac86373a3ccc37fc7ceff1319a4528a889.tar.gz |
Dpkg: Remove internal lowercase variables
Bump module version to 2.00.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Dpkg.pm | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/scripts/Dpkg.pm b/scripts/Dpkg.pm index 21444b802..9d06b4145 100644 --- a/scripts/Dpkg.pm +++ b/scripts/Dpkg.pm @@ -31,7 +31,7 @@ It is also the entry point to the Dpkg module hierarchy. use strict; use warnings; -our $VERSION = '1.03'; +our $VERSION = '2.00'; our @EXPORT_OK = qw( $PROGNAME $PROGVERSION @@ -43,13 +43,6 @@ our @EXPORT_OK = qw( $LIBDIR $DATADIR ); -our @EXPORT = qw( - $version - $progname - $admindir - $dpkglibdir - $pkgdatadir -); use Exporter qw(import); @@ -113,14 +106,6 @@ our $DATADIR = '../data'; $DATADIR = $ENV{DPKG_DATADIR} if defined $ENV{DPKG_DATADIR}; -# XXX: Backwards compatibility, to be removed on VERSION 2.00. -## no critic (Variables::ProhibitPackageVars) -our $version = $PROGVERSION; -our $admindir = $ADMINDIR; -our $dpkglibdir = $LIBDIR; -our $pkgdatadir = $DATADIR; -## use critic - =head1 MODULES The following is the list of public modules within the Dpkg hierarchy. Only @@ -290,6 +275,10 @@ Parse and manipulate Debian package versions. =head1 CHANGES +=head2 Version 2.00 (dpkg 1.20.0) + +Remove variables: $version, $progname, $admindir, $dpkglibdir and $pkgdatadir. + =head2 Version 1.03 (dpkg 1.18.24) New variable: $PROGPATCH. |