[PATCH] dpkg-buildpackage: Add flag to skip writing changes file
From Adam Mohammed@21:1/5 to All on Wed Feb 24 14:30:02 2021
dpkg-deb, dpkg-genbuildinfo and dpkg-genchanges already have flags for
output directories in a directory other than `..`. Adding this
`--no-changes` flag prevents `dpkg-buildpackage` from writing the
.changes file to `..`.
With this option, the `-O` options from `dpkg-genchanges` and `dpkg-genbuildinfo` can take care of handling the output instead of `dpkg-buildpackage`.
This change could be done by having `dpkg-genchanges` determine where
to place the .changes file, but currently `dpkg-buildpackage` does
so. That change however seems like it potentially breaks existing
behavior. Adding a flag to `dpkg-buildpackage` to override this
behavior seems preferable since it is new behavior instead of breaking