This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=d0aa36601ed650319b6a6a638dc88ed59437c79e commit d0aa36601ed650319b6a6a638dc88ed59437c79e Author: Guillem Jover <guil...@debian.org> AuthorDate: Sat Feb 18 23:18:39 2023 +0100 perl: Add $VERSION to all embedded perl packages Even packages that are contained within the source file of another package should have a proper $VERSION variable. Warned-by: perlcritic Addresses: Modules::RequireVersionVar --- scripts/Dpkg/Control/HashCore.pm | 2 ++ scripts/Dpkg/Shlibs/Objdump.pm | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scripts/Dpkg/Control/HashCore.pm b/scripts/Dpkg/Control/HashCore.pm index 0bdb81274..b304f0603 100644 --- a/scripts/Dpkg/Control/HashCore.pm +++ b/scripts/Dpkg/Control/HashCore.pm @@ -476,6 +476,8 @@ package Dpkg::Control::HashCore::Tie; use strict; use warnings; +our $VERSION = '0.01'; + use Dpkg::Control::FieldsCore; use Carp; diff --git a/scripts/Dpkg/Shlibs/Objdump.pm b/scripts/Dpkg/Shlibs/Objdump.pm index c9af96564..2b91abbbd 100644 --- a/scripts/Dpkg/Shlibs/Objdump.pm +++ b/scripts/Dpkg/Shlibs/Objdump.pm @@ -247,6 +247,8 @@ use strict; use warnings; use feature qw(state); +our $VERSION = '0.01'; + use Dpkg::Gettext; use Dpkg::ErrorHandling; use Dpkg::Path qw(find_command); -- Dpkg.Org's dpkg