#977591 devscripts: debuild supports "-aarch" but not "-a arch"

Package:
devscripts
Source:
devscripts
Description:
scripts to make the life of a Debian Package maintainer easier
Submitter:
Alexander GQ Gerasiov
Date:
2020-12-17 15:18:05 UTC
Severity:
normal
#977591#5
Date:
2020-12-17 14:00:34 UTC
From:
To:
Dear Maintainer,

debuild supports "-aarch" but not "-a arch":

quote

/^-a(.*)/ and $targetarch = $1, push(@dpkg_opts, $_), next;

endofquote

As a result it incorrectly calculates changes file name (with host arch, not target one)
and fails on debsign when called with "-a arch".
--- /etc/devscripts.conf ---
--- ~/.devscripts ---