Xiyue Deng writes ("Bug#1137468: dgit: merged changelog does not honor
--debbuildopts="-v<version>""):
> When trying to build a backport of a package, it was suggested to pass
> `--debbuildopts="-v<version>"' so that not only changelog of the
> backport version (which is usually just "Rebuild for backports"), but
> also all the changes from the previous versions after <version> are
> included. Say stable has 1.0-1, and testing has 1.1-1, and with
> `--debbuildopts="-v1.0-1"' I can have the changelog of both 1.1-1 and
> 1.1-1~bpo13+1.
I think you need to do this with dgit's -v option, rather than
sbuild's --debbuildopts. Hopefully that will work. Please let us
know if not.
As you've noted, the output from sbuild is used for the binary
packages. The changelog information comes from the *_source.changes.
dgit makes that itself with a separate call call to dpkg-genchnages.
BTW, dgit normally calculates the previous version automatically.
But, that calcuation sometimes isn't right for backports. That's
#1109584 and #854377.
Regards,
Ian.
--
Ian Jackson <[email protected]> These opinions are my own.
Pronouns: they/he. If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.