Hi! On Wed, 2025-07-09 at 14:39:14 +0000, Debian FTP Masters wrote: > Changes: > jq (1.8.1-2) unstable; urgency=medium > . > * Enable time64 abi to fix i386 unit test fails (Closes: #1108854) > * Use dpkg-parsechangelog to get build version (Closes: #1108533)
To fetch the version, instead of using: dpkg-parsechangelog | grep --basic-regex '^Version: ' | cut --delimiter=' ' --field=2 | cut --delimiter='-' --field=1 You could use: dpkg-parsechangelog --show-field=Version | cut --delimiter='-' --field=1 But I guess even better would be if upstream fixed the build system so that it works also from a tarball release (not just from git), for example with something like this: https://gitlab.freedesktop.org/libbsd/libbsd/-/blob/main/get-version https://gitlab.freedesktop.org/libbsd/libbsd/-/blob/main/Makefile.am#L17 Thanks, Guillem