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=3e7f285267fbef3d8d9735a29cddd7c503112a73 commit 3e7f285267fbef3d8d9735a29cddd7c503112a73 Author: Guillem Jover <[email protected]> AuthorDate: Tue Jul 19 02:34:44 2022 +0200 dpkg-buildpackage: Add --source-by and --changed-by aliases for -m/-e This might make the options more understandable depending on the callers usage, as it might better match their intended purpose. --- man/dpkg-buildpackage.pod | 4 ++++ scripts/dpkg-buildpackage.pl | 10 ++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/man/dpkg-buildpackage.pod b/man/dpkg-buildpackage.pod index 15fcb0d49..9e36ac733 100644 --- a/man/dpkg-buildpackage.pod +++ b/man/dpkg-buildpackage.pod @@ -252,10 +252,14 @@ Passed unchanged to B<dpkg-genchanges>. See its manual page. =item B<--build-by=>I<maintainer-address> +=item B<--source-by=>I<maintainer-address> (since dpkg 1.21.10) + Pass as B<-m> to B<dpkg-genchanges>. See its manual page. =item B<--release-by=>I<maintainer-address> +=item B<--changed-by=>I<maintainer-address> (since dpkg 1.21.10) + Pass as B<-e> to B<dpkg-genchanges>. See its manual page. =item B<-a>, B<--host-arch> I<architecture> diff --git a/scripts/dpkg-buildpackage.pl b/scripts/dpkg-buildpackage.pl index 3bd521f7b..9738a26af 100755 --- a/scripts/dpkg-buildpackage.pl +++ b/scripts/dpkg-buildpackage.pl @@ -128,8 +128,10 @@ sub usage { -sa source includes orig, always. -sd source is diff and .dsc only. -v<version> changes since version <version>. - -m, --build-by=<maint> maintainer for this build is <maint>. - -e, --release-by=<maint> maintainer for this release is <maint>. + -m, --source-by=<maint> maintainer for this source or build is <maint>. + --build-by=<maint> ditto. + -e, --release-by=<maint> maintainer for this change or release is <maint>. + --changed-by=<maint> ditto. -C<descfile> changes are described in <descfile>. --changes-option=<opt> pass option <opt> to dpkg-genchanges.') . "\n\n" . g_( @@ -368,9 +370,9 @@ while (@ARGV) { set_build_type(BUILD_FULL, $_); } elsif (/^-v(.*)$/) { $since = $1; - } elsif (/^-m(.*)$/ or /^--build-by=(.*)$/) { + } elsif (/^-m(.*)$/ or /^--(?:source|build)-by=(.*)$/) { $maint = $1; - } elsif (/^-e(.*)$/ or /^--release-by=(.*)$/) { + } elsif (/^-e(.*)$/ or /^--(?:changed|release)-by=(.*)$/) { $changedby = $1; } elsif (/^-C(.*)$/) { $desc = $1; -- Dpkg.Org's dpkg

