On 2/28/23 07:24, Yadd wrote:
Package: pkg-perl-tools
Version: 0.75
Severity: minor

Hi,

thanks for this powerful tool. When using `dpt prepare` on a package
that have backports, it shows the difference with last backport, not
last unstable upload. You can try for example with lemonldap-ng.

In lib/dpt-lib.sh, maybe you could replace

   TAG=$(git rev-list -n1 --tags)

by

   TAG=$(git describe | perl -pe 's/-\d+-\w+$//')

or simply

  TAG=$(git describe --abbrev=0)

Reply via email to