The following commit has been merged in the master branch:
commit 1d22992583f0010007da14ce385e72ee13a9a84f
Author: Raphaël Hertzog <[email protected]>
Date: Sun Feb 21 00:45:00 2010 +0100
Add $VERSION numbers to all perl modules
Modules whose API should be stable have a version 1.00.
The modules with version 0.01 are expected to have further API
changes in the (near) future or are deemed to be useful mostly
for dpkg-dev's internal usage.
diff --git a/debian/changelog b/debian/changelog
index ae97384..4abb401 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -31,6 +31,8 @@ dpkg (1.15.6) UNRELEASED; urgency=low
* Don't return duplicate bug numbers in Launchpad-Bugs-Fixed:.
Thanks to Brian Murray <[email protected]> for the report
and the patch. Closes: #569618
+ * Add $VERSION numbers to all perl modules. Closes: #465256
+ 1.00 and higher means that the API should be stable
[ Guillem Jover ]
* Handle argument parsing in dpkg-checkbuilddeps and dpkg-scanpackages
diff --git a/scripts/Dpkg.pm b/scripts/Dpkg.pm
index 715b3bf..b6ba75d 100644
--- a/scripts/Dpkg.pm
+++ b/scripts/Dpkg.pm
@@ -16,6 +16,8 @@ package Dpkg;
use strict;
use warnings;
+our $VERSION = "1.00";
+
# This module is the only one provided by dpkg and not dpkg-dev
#
# Don't add things here if you don't need them in dpkg itself.
diff --git a/scripts/Dpkg/Arch.pm b/scripts/Dpkg/Arch.pm
index 2f0c962..5f434a4 100644
--- a/scripts/Dpkg/Arch.pm
+++ b/scripts/Dpkg/Arch.pm
@@ -16,6 +16,8 @@ package Dpkg::Arch;
use strict;
use warnings;
+our $VERSION = "1.00";
+
use base qw(Exporter);
our @EXPORT_OK = qw(get_raw_build_arch get_raw_host_arch
get_build_arch get_host_arch get_gcc_host_gnu_type
diff --git a/scripts/Dpkg/BuildOptions.pm b/scripts/Dpkg/BuildOptions.pm
index 5dac7b5..ff9c3f0 100644
--- a/scripts/Dpkg/BuildOptions.pm
+++ b/scripts/Dpkg/BuildOptions.pm
@@ -16,6 +16,8 @@ package Dpkg::BuildOptions;
use strict;
use warnings;
+our $VERSION = "0.01";
+
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
diff --git a/scripts/Dpkg/Changelog.pm b/scripts/Dpkg/Changelog.pm
index 78ecb8b..c06a05b 100644
--- a/scripts/Dpkg/Changelog.pm
+++ b/scripts/Dpkg/Changelog.pm
@@ -34,6 +34,8 @@ package Dpkg::Changelog;
use strict;
use warnings;
+our $VERSION = "1.00";
+
use Dpkg;
use Dpkg::Gettext;
use Dpkg::ErrorHandling qw(:DEFAULT report);
diff --git a/scripts/Dpkg/Changelog/Debian.pm b/scripts/Dpkg/Changelog/Debian.pm
index a46c36c..4d56e81 100644
--- a/scripts/Dpkg/Changelog/Debian.pm
+++ b/scripts/Dpkg/Changelog/Debian.pm
@@ -41,6 +41,8 @@ package Dpkg::Changelog::Debian;
use strict;
use warnings;
+our $VERSION = "1.00";
+
use Dpkg::Gettext;
use Dpkg::Changelog qw(:util);
use base qw(Dpkg::Changelog);
diff --git a/scripts/Dpkg/Changelog/Entry.pm b/scripts/Dpkg/Changelog/Entry.pm
index 9236d0c..3ed6bd6 100644
--- a/scripts/Dpkg/Changelog/Entry.pm
+++ b/scripts/Dpkg/Changelog/Entry.pm
@@ -18,6 +18,8 @@ package Dpkg::Changelog::Entry;
use strict;
use warnings;
+our $VERSION = "1.00";
+
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::Control::Changelog;
diff --git a/scripts/Dpkg/Changelog/Entry/Debian.pm
b/scripts/Dpkg/Changelog/Entry/Debian.pm
index ccaf504..e4e0b35 100644
--- a/scripts/Dpkg/Changelog/Entry/Debian.pm
+++ b/scripts/Dpkg/Changelog/Entry/Debian.pm
@@ -18,6 +18,8 @@ package Dpkg::Changelog::Entry::Debian;
use strict;
use warnings;
+our $VERSION = "1.00";
+
use Exporter;
use Dpkg::Changelog::Entry;
use base qw(Exporter Dpkg::Changelog::Entry);
diff --git a/scripts/Dpkg/Changelog/Parse.pm b/scripts/Dpkg/Changelog/Parse.pm
index 554d598..8b23e79 100644
--- a/scripts/Dpkg/Changelog/Parse.pm
+++ b/scripts/Dpkg/Changelog/Parse.pm
@@ -32,6 +32,8 @@ package Dpkg::Changelog::Parse;
use strict;
use warnings;
+our $VERSION = "1.00";
+
use Dpkg; # for $dpkglibdir
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
diff --git a/scripts/Dpkg/Checksums.pm b/scripts/Dpkg/Checksums.pm
index a760182..1a7d2b8 100644
--- a/scripts/Dpkg/Checksums.pm
+++ b/scripts/Dpkg/Checksums.pm
@@ -16,6 +16,8 @@ package Dpkg::Checksums;
use strict;
use warnings;
+our $VERSION = "0.01";
+
use Dpkg;
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
diff --git a/scripts/Dpkg/Compression.pm b/scripts/Dpkg/Compression.pm
index d8ab0cd..ce21c00 100644
--- a/scripts/Dpkg/Compression.pm
+++ b/scripts/Dpkg/Compression.pm
@@ -17,6 +17,9 @@ package Dpkg::Compression;
use strict;
use warnings;
+
+our $VERSION = "1.00";
+
use Dpkg::ErrorHandling;
use Dpkg::Gettext;
diff --git a/scripts/Dpkg/Compression/FileHandle.pm
b/scripts/Dpkg/Compression/FileHandle.pm
index 658a9f7..e9c975b 100644
--- a/scripts/Dpkg/Compression/FileHandle.pm
+++ b/scripts/Dpkg/Compression/FileHandle.pm
@@ -18,6 +18,8 @@ package Dpkg::Compression::FileHandle;
use strict;
use warnings;
+our $VERSION = "1.00";
+
use Dpkg::Compression;
use Dpkg::Compression::Process;
use Dpkg::Gettext;
diff --git a/scripts/Dpkg/Compression/Process.pm
b/scripts/Dpkg/Compression/Process.pm
index b7cbc03..538490d 100644
--- a/scripts/Dpkg/Compression/Process.pm
+++ b/scripts/Dpkg/Compression/Process.pm
@@ -18,6 +18,8 @@ package Dpkg::Compression::Process;
use strict;
use warnings;
+our $VERSION = "1.00";
+
use Dpkg::Compression;
use Dpkg::ErrorHandling;
use Dpkg::Gettext;
diff --git a/scripts/Dpkg/Conf.pm b/scripts/Dpkg/Conf.pm
index be33b12..42a8811 100644
--- a/scripts/Dpkg/Conf.pm
+++ b/scripts/Dpkg/Conf.pm
@@ -18,6 +18,8 @@ package Dpkg::Conf;
use strict;
use warnings;
+our $VERSION = "1.00";
+
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
diff --git a/scripts/Dpkg/Control.pm b/scripts/Dpkg/Control.pm
index 9a3ce41..0d32066 100644
--- a/scripts/Dpkg/Control.pm
+++ b/scripts/Dpkg/Control.pm
@@ -18,6 +18,8 @@ package Dpkg::Control;
use strict;
use warnings;
+our $VERSION = "1.00";
+
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::Control::Types;
diff --git a/scripts/Dpkg/Control/Changelog.pm
b/scripts/Dpkg/Control/Changelog.pm
index 4999419..24538a5 100644
--- a/scripts/Dpkg/Control/Changelog.pm
+++ b/scripts/Dpkg/Control/Changelog.pm
@@ -18,6 +18,8 @@ package Dpkg::Control::Changelog;
use strict;
use warnings;
+our $VERSION = "1.00";
+
use Dpkg::Control;
use base 'Dpkg::Control';
diff --git a/scripts/Dpkg/Control/Fields.pm b/scripts/Dpkg/Control/Fields.pm
index 6737849..8f14d9f 100644
--- a/scripts/Dpkg/Control/Fields.pm
+++ b/scripts/Dpkg/Control/Fields.pm
@@ -18,6 +18,8 @@ package Dpkg::Control::Fields;
use strict;
use warnings;
+our $VERSION = "1.00";
+
use base qw(Exporter);
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
diff --git a/scripts/Dpkg/Control/Hash.pm b/scripts/Dpkg/Control/Hash.pm
index f42525f..6b9f9d5 100644
--- a/scripts/Dpkg/Control/Hash.pm
+++ b/scripts/Dpkg/Control/Hash.pm
@@ -18,6 +18,8 @@ package Dpkg::Control::Hash;
use strict;
use warnings;
+our $VERSION = "1.00";
+
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
diff --git a/scripts/Dpkg/Control/Info.pm b/scripts/Dpkg/Control/Info.pm
index 7ea87a0..2b9b94b 100644
--- a/scripts/Dpkg/Control/Info.pm
+++ b/scripts/Dpkg/Control/Info.pm
@@ -18,6 +18,8 @@ package Dpkg::Control::Info;
use strict;
use warnings;
+our $VERSION = "1.00";
+
use Dpkg::Control;
use Dpkg::ErrorHandling;
use Dpkg::Gettext;
diff --git a/scripts/Dpkg/Deps.pm b/scripts/Dpkg/Deps.pm
index 6ca6207..e63818d 100644
--- a/scripts/Dpkg/Deps.pm
+++ b/scripts/Dpkg/Deps.pm
@@ -46,6 +46,8 @@ All the deps_* functions are exported by default.
use strict;
use warnings;
+our $VERSION = "1.00";
+
use Dpkg::Version;
use Dpkg::Arch qw(get_host_arch);
use Dpkg::ErrorHandling;
diff --git a/scripts/Dpkg/ErrorHandling.pm b/scripts/Dpkg/ErrorHandling.pm
index fc62a14..61feeac 100644
--- a/scripts/Dpkg/ErrorHandling.pm
+++ b/scripts/Dpkg/ErrorHandling.pm
@@ -13,6 +13,11 @@
package Dpkg::ErrorHandling;
+use strict;
+use warnings;
+
+our $VERSION = "1.00";
+
use Dpkg;
use Dpkg::Gettext;
diff --git a/scripts/Dpkg/Exit.pm b/scripts/Dpkg/Exit.pm
index d9dd836..6bbf0fe 100644
--- a/scripts/Dpkg/Exit.pm
+++ b/scripts/Dpkg/Exit.pm
@@ -18,6 +18,8 @@ package Dpkg::Exit;
use strict;
use warnings;
+our $VERSION = "1.00";
+
our @handlers = ();
sub exit_handler {
&$_() foreach (reverse @handlers);
diff --git a/scripts/Dpkg/Gettext.pm b/scripts/Dpkg/Gettext.pm
index dabf322..338f48a 100644
--- a/scripts/Dpkg/Gettext.pm
+++ b/scripts/Dpkg/Gettext.pm
@@ -26,6 +26,8 @@ package Dpkg::Gettext;
use strict;
use warnings;
+our $VERSION = "1.00";
+
BEGIN {
eval 'use Locale::gettext';
if ($@) {
diff --git a/scripts/Dpkg/IPC.pm b/scripts/Dpkg/IPC.pm
index c3542eb..0186d89 100644
--- a/scripts/Dpkg/IPC.pm
+++ b/scripts/Dpkg/IPC.pm
@@ -19,6 +19,8 @@ package Dpkg::IPC;
use strict;
use warnings;
+our $VERSION = "1.00";
+
use Dpkg::ErrorHandling;
use Dpkg::Gettext;
diff --git a/scripts/Dpkg/Index.pm b/scripts/Dpkg/Index.pm
index f010f8b..23b3f60 100644
--- a/scripts/Dpkg/Index.pm
+++ b/scripts/Dpkg/Index.pm
@@ -18,6 +18,8 @@ package Dpkg::Index;
use strict;
use warnings;
+our $VERSION = "1.00";
+
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::Control;
diff --git a/scripts/Dpkg/Interface/Storable.pm
b/scripts/Dpkg/Interface/Storable.pm
index 8474fa3..fa0043e 100644
--- a/scripts/Dpkg/Interface/Storable.pm
+++ b/scripts/Dpkg/Interface/Storable.pm
@@ -18,6 +18,8 @@ package Dpkg::Interface::Storable;
use strict;
use warnings;
+our $VERSION = "1.00";
+
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::Compression::FileHandle;
diff --git a/scripts/Dpkg/Path.pm b/scripts/Dpkg/Path.pm
index 849fd5b..7e3b224 100644
--- a/scripts/Dpkg/Path.pm
+++ b/scripts/Dpkg/Path.pm
@@ -18,6 +18,8 @@ package Dpkg::Path;
use strict;
use warnings;
+our $VERSION = "1.00";
+
use base qw(Exporter);
use File::Spec;
use Cwd qw(realpath);
diff --git a/scripts/Dpkg/Shlibs.pm b/scripts/Dpkg/Shlibs.pm
index b4d90db..95ef4fe 100644
--- a/scripts/Dpkg/Shlibs.pm
+++ b/scripts/Dpkg/Shlibs.pm
@@ -18,6 +18,8 @@ package Dpkg::Shlibs;
use strict;
use warnings;
+our $VERSION = "0.01";
+
use base qw(Exporter);
our @EXPORT_OK = qw(@librarypaths find_library);
diff --git a/scripts/Dpkg/Shlibs/Cppfilt.pm b/scripts/Dpkg/Shlibs/Cppfilt.pm
index 9898aa1..8ce77f9 100644
--- a/scripts/Dpkg/Shlibs/Cppfilt.pm
+++ b/scripts/Dpkg/Shlibs/Cppfilt.pm
@@ -17,6 +17,9 @@ package Dpkg::Shlibs::Cppfilt;
use strict;
use warnings;
+
+our $VERSION = "0.01";
+
use base 'Exporter';
use Dpkg::ErrorHandling;
diff --git a/scripts/Dpkg/Shlibs/Objdump.pm b/scripts/Dpkg/Shlibs/Objdump.pm
index c6912f5..aa52a8a 100644
--- a/scripts/Dpkg/Shlibs/Objdump.pm
+++ b/scripts/Dpkg/Shlibs/Objdump.pm
@@ -16,6 +16,8 @@
use strict;
use warnings;
+our $VERSION = "0.01";
+
package Dpkg::Shlibs::Objdump;
use Dpkg::Gettext;
diff --git a/scripts/Dpkg/Shlibs/Symbol.pm b/scripts/Dpkg/Shlibs/Symbol.pm
index 943a8a4..2612572 100644
--- a/scripts/Dpkg/Shlibs/Symbol.pm
+++ b/scripts/Dpkg/Shlibs/Symbol.pm
@@ -18,6 +18,9 @@ package Dpkg::Shlibs::Symbol;
use strict;
use warnings;
+
+our $VERSION = "0.01";
+
use Dpkg::Gettext;
use Dpkg::Deps;
use Dpkg::ErrorHandling;
diff --git a/scripts/Dpkg/Shlibs/SymbolFile.pm
b/scripts/Dpkg/Shlibs/SymbolFile.pm
index b061c66..fa079b2 100644
--- a/scripts/Dpkg/Shlibs/SymbolFile.pm
+++ b/scripts/Dpkg/Shlibs/SymbolFile.pm
@@ -18,6 +18,9 @@ package Dpkg::Shlibs::SymbolFile;
use strict;
use warnings;
+
+our $VERSION = "0.01";
+
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::Version;
diff --git a/scripts/Dpkg/Source/Archive.pm b/scripts/Dpkg/Source/Archive.pm
index b9d021d..132a780 100644
--- a/scripts/Dpkg/Source/Archive.pm
+++ b/scripts/Dpkg/Source/Archive.pm
@@ -18,6 +18,8 @@ package Dpkg::Source::Archive;
use strict;
use warnings;
+our $VERSION = "0.01";
+
use Dpkg::Source::Functions qw(erasedir fixperms);
use Dpkg::Gettext;
use Dpkg::IPC;
diff --git a/scripts/Dpkg/Source/Functions.pm b/scripts/Dpkg/Source/Functions.pm
index f3ed1c7..f4a06f6 100644
--- a/scripts/Dpkg/Source/Functions.pm
+++ b/scripts/Dpkg/Source/Functions.pm
@@ -16,6 +16,8 @@ package Dpkg::Source::Functions;
use strict;
use warnings;
+our $VERSION = "0.01";
+
use base qw(Exporter);
our @EXPORT_OK = qw(erasedir fixperms is_binary);
diff --git a/scripts/Dpkg/Source/Package.pm b/scripts/Dpkg/Source/Package.pm
index 9fe3df9..6bcf4b2 100644
--- a/scripts/Dpkg/Source/Package.pm
+++ b/scripts/Dpkg/Source/Package.pm
@@ -18,6 +18,8 @@ package Dpkg::Source::Package;
use strict;
use warnings;
+our $VERSION = "0.01";
+
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::Control;
diff --git a/scripts/Dpkg/Source/Package/V1.pm
b/scripts/Dpkg/Source/Package/V1.pm
index 319e9c2..1cc8a3d 100644
--- a/scripts/Dpkg/Source/Package/V1.pm
+++ b/scripts/Dpkg/Source/Package/V1.pm
@@ -18,6 +18,8 @@ package Dpkg::Source::Package::V1;
use strict;
use warnings;
+our $VERSION = "0.01";
+
use base 'Dpkg::Source::Package';
use Dpkg;
diff --git a/scripts/Dpkg/Source/Package/V2.pm
b/scripts/Dpkg/Source/Package/V2.pm
index bcacea8..594cc42 100644
--- a/scripts/Dpkg/Source/Package/V2.pm
+++ b/scripts/Dpkg/Source/Package/V2.pm
@@ -18,6 +18,8 @@ package Dpkg::Source::Package::V2;
use strict;
use warnings;
+our $VERSION = "0.01";
+
use base 'Dpkg::Source::Package';
use Dpkg;
diff --git a/scripts/Dpkg/Source/Package/V3/bzr.pm
b/scripts/Dpkg/Source/Package/V3/bzr.pm
index dd5d144..3cde52a 100644
--- a/scripts/Dpkg/Source/Package/V3/bzr.pm
+++ b/scripts/Dpkg/Source/Package/V3/bzr.pm
@@ -24,6 +24,8 @@ package Dpkg::Source::Package::V3::bzr;
use strict;
use warnings;
+our $VERSION = "0.01";
+
use base 'Dpkg::Source::Package';
use Cwd;
diff --git a/scripts/Dpkg/Source/Package/V3/custom.pm
b/scripts/Dpkg/Source/Package/V3/custom.pm
index a1c23a4..a1a9f99 100644
--- a/scripts/Dpkg/Source/Package/V3/custom.pm
+++ b/scripts/Dpkg/Source/Package/V3/custom.pm
@@ -18,6 +18,8 @@ package Dpkg::Source::Package::V3::custom;
use strict;
use warnings;
+our $VERSION = "0.01";
+
use base 'Dpkg::Source::Package';
use Dpkg;
diff --git a/scripts/Dpkg/Source/Package/V3/git.pm
b/scripts/Dpkg/Source/Package/V3/git.pm
index d3b72a9..c8e3819 100644
--- a/scripts/Dpkg/Source/Package/V3/git.pm
+++ b/scripts/Dpkg/Source/Package/V3/git.pm
@@ -22,6 +22,8 @@ package Dpkg::Source::Package::V3::git;
use strict;
use warnings;
+our $VERSION = "0.01";
+
use base 'Dpkg::Source::Package';
use Cwd;
diff --git a/scripts/Dpkg/Source/Package/V3/native.pm
b/scripts/Dpkg/Source/Package/V3/native.pm
index 189b8d6..c8d37a1 100644
--- a/scripts/Dpkg/Source/Package/V3/native.pm
+++ b/scripts/Dpkg/Source/Package/V3/native.pm
@@ -18,6 +18,8 @@ package Dpkg::Source::Package::V3::native;
use strict;
use warnings;
+our $VERSION = "0.01";
+
use base 'Dpkg::Source::Package';
use Dpkg;
diff --git a/scripts/Dpkg/Source/Package/V3/quilt.pm
b/scripts/Dpkg/Source/Package/V3/quilt.pm
index 7b8412f..698b747 100644
--- a/scripts/Dpkg/Source/Package/V3/quilt.pm
+++ b/scripts/Dpkg/Source/Package/V3/quilt.pm
@@ -18,6 +18,8 @@ package Dpkg::Source::Package::V3::quilt;
use strict;
use warnings;
+our $VERSION = "0.01";
+
# Based on wig&pen implementation
use base 'Dpkg::Source::Package::V2';
diff --git a/scripts/Dpkg/Source/Patch.pm b/scripts/Dpkg/Source/Patch.pm
index 3d9f5d9..45840bc 100644
--- a/scripts/Dpkg/Source/Patch.pm
+++ b/scripts/Dpkg/Source/Patch.pm
@@ -18,6 +18,8 @@ package Dpkg::Source::Patch;
use strict;
use warnings;
+our $VERSION = "0.01";
+
use Dpkg;
use Dpkg::Gettext;
use Dpkg::IPC;
diff --git a/scripts/Dpkg/Substvars.pm b/scripts/Dpkg/Substvars.pm
index 8ef3158..081c9ff 100644
--- a/scripts/Dpkg/Substvars.pm
+++ b/scripts/Dpkg/Substvars.pm
@@ -18,6 +18,8 @@ package Dpkg::Substvars;
use strict;
use warnings;
+our $VERSION = "1.00";
+
use Dpkg qw($version);
use Dpkg::Arch qw(get_host_arch);
use Dpkg::ErrorHandling;
diff --git a/scripts/Dpkg/Vars.pm b/scripts/Dpkg/Vars.pm
index 3386658..6f82103 100644
--- a/scripts/Dpkg/Vars.pm
+++ b/scripts/Dpkg/Vars.pm
@@ -18,6 +18,8 @@ package Dpkg::Vars;
use strict;
use warnings;
+our $VERSION = "0.01";
+
use Dpkg::ErrorHandling;
use Dpkg::Gettext;
diff --git a/scripts/Dpkg/Vendor.pm b/scripts/Dpkg/Vendor.pm
index 22f40fe..b3a79d8 100644
--- a/scripts/Dpkg/Vendor.pm
+++ b/scripts/Dpkg/Vendor.pm
@@ -18,6 +18,8 @@ package Dpkg::Vendor;
use strict;
use warnings;
+our $VERSION = "0.01";
+
use Dpkg::ErrorHandling;
use Dpkg::Gettext;
use Dpkg::Control::Hash;
diff --git a/scripts/Dpkg/Vendor/Debian.pm b/scripts/Dpkg/Vendor/Debian.pm
index 3285217..5660518 100644
--- a/scripts/Dpkg/Vendor/Debian.pm
+++ b/scripts/Dpkg/Vendor/Debian.pm
@@ -18,6 +18,8 @@ package Dpkg::Vendor::Debian;
use strict;
use warnings;
+our $VERSION = "0.01";
+
use base qw(Dpkg::Vendor::Default);
use Dpkg::Control::Types;
use Dpkg::Vendor::Ubuntu;
diff --git a/scripts/Dpkg/Vendor/Default.pm b/scripts/Dpkg/Vendor/Default.pm
index 8556671..9dafacc 100644
--- a/scripts/Dpkg/Vendor/Default.pm
+++ b/scripts/Dpkg/Vendor/Default.pm
@@ -18,6 +18,8 @@ package Dpkg::Vendor::Default;
use strict;
use warnings;
+our $VERSION = "0.01";
+
# If you use this file as template to create a new vendor object, please
# uncomment the following lines
#use base qw(Dpkg::Vendor::Default);
diff --git a/scripts/Dpkg/Vendor/Ubuntu.pm b/scripts/Dpkg/Vendor/Ubuntu.pm
index 000d59e..383f229 100644
--- a/scripts/Dpkg/Vendor/Ubuntu.pm
+++ b/scripts/Dpkg/Vendor/Ubuntu.pm
@@ -21,6 +21,8 @@ package Dpkg::Vendor::Ubuntu;
use strict;
use warnings;
+our $VERSION = "0.01";
+
use Dpkg::ErrorHandling;
use Dpkg::Gettext;
use Dpkg::Control::Types;
diff --git a/scripts/Dpkg/Version.pm b/scripts/Dpkg/Version.pm
index e2dda92..f704cab 100644
--- a/scripts/Dpkg/Version.pm
+++ b/scripts/Dpkg/Version.pm
@@ -21,6 +21,8 @@ package Dpkg::Version;
use strict;
use warnings;
+our $VERSION = "1.00";
+
use Dpkg::ErrorHandling;
use Dpkg::Gettext;
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]