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=78af3f6b5e7cd1f1dfe8a1fbaa9fad9937df7cee commit 78af3f6b5e7cd1f1dfe8a1fbaa9fad9937df7cee Author: Guillem Jover <[email protected]> AuthorDate: Tue Aug 6 03:35:36 2024 +0200 Dpkg::Control: Deprecate the backwards compatibility type aliases These are the old name for the types. These are deprecated, that is, they are discourage to be used, but will still be supported for a while, because all users will not have been updated yet. --- scripts/Dpkg/Control.pm | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/scripts/Dpkg/Control.pm b/scripts/Dpkg/Control.pm index 4a1c57bf8..f9a69436a 100644 --- a/scripts/Dpkg/Control.pm +++ b/scripts/Dpkg/Control.pm @@ -110,33 +110,33 @@ Corresponds to a source package tests control file in F<debian/tests/control>. =item CTRL_INFO_SRC -Alias for B<CTRL_TMPL_SRC>. +Deprecated alias for CTRL_TMPL_SRC. =item CTRL_INFO_PKG -Alias for B<CTRL_TMPL_PKG>. +Deprecated alias for CTRL_TMPL_PKG. =item CTRL_PKG_SRC -Alias for B<CTRL_DSC>. +Deprecated alias for CTRL_DSC. =item CTRL_PKG_DEB -Alias for B<CTRL_DEB>. +Deprecated alias for CTRL_DEB. =item CTRL_INDEX_SRC -Alias for B<CTRL_REPO_SRC>. +Deprecated alias for CTRL_REPO_SRC. =item CTRL_INDEX_PKG -Alias for B<CTRL_REPO_PKG>. +Deprecated alias for CTRL_REPO_PKG. =back =cut -package Dpkg::Control 1.04; +package Dpkg::Control 1.05; use strict; use warnings; @@ -325,6 +325,11 @@ sub get_type { =head1 CHANGES +=head2 Version 1.05 (dpkg 1.22.12) + +Deprecate types: CTRL_INFO_SRC, CTRL_INFO_PKG, CTRL_PKG_SRC, CTRL_PKG_DEB, +CTRL_INDEX_SRC, CTRL_INDEX_PKG. + =head2 Version 1.04 (dpkg 1.22.2) New types: CTRL_TMPL_SRC, CTRL_TMPL_PKG, CTRL_REPO_SRC, CTRL_REPO_PKG, -- Dpkg.Org's dpkg

