Package: dpkg-dev Version: 1.22.11 Severity: wishlist -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Trying to figure out what exactly the various variables from pkg-info.mk return, I added a number of 'debug' statements to my (modified) clone of ffmpeg package repo's debian/rules file and got the following results: ``` $DEB_VERSION = 7:7.1-9.1 $DEB_VERSION_EPOCH_UPSTREAM = 7:7.1 $DEB_VERSION_UPSTREAM_REVISION = 7.1-9.1 $DEB_VERSION_UPSTREAM = 7.1 ``` ffmpeg's debian/rules file also had this statement: ``` # Get the Debian version revision: DEB_REVISION := $(word 2, $(subst -, ,$(DEB_VERSION))) ``` which returns "9.1". It seems useful if pkg-info.mk could return that value too? Cheers, Diederik - -- Package-specific info: - -- System Information: Debian Release: trixie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 6.12+unreleased-amd64 (SMP w/16 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages dpkg-dev depends on: ii binutils 2.43.1-5 ii bzip2 1.0.8-6 ii libdpkg-perl 1.22.11 ii make 4.3-4.1 ii patch 2.7.6-7 ii perl 5.40.0-8 ii tar 1.35+dfsg-3 ii xz-utils 5.6.3-1+b1 Versions of packages dpkg-dev recommends: ii build-essential 12.12 ii clang-16 [c-compiler] 1:16.0.6-27+b1 ii clang-19 [c-compiler] 1:19.1.3-2 ii fakeroot 1.36-1 ii gcc [c-compiler] 4:14.2.0-1 ii gcc-10 [c-compiler] 10.5.0-4 ii gcc-13 [c-compiler] 13.3.0-8 ii gcc-14 [c-compiler] 14.2.0-8 ii gnupg 2.2.45-2 ii gpgv 2.2.45-2 ii libalgorithm-merge-perl 0.08-5 Versions of packages dpkg-dev suggests: ii debian-keyring 2024.09.22 - -- no debconf information -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQT1sUPBYsyGmi4usy/XblvOeH7bbgUCZ0S2cgAKCRDXblvOeH7b buafAP48BC4IFmc0sANgEl8ppFkD8Q1lO5OcvClTLlZ8ThZELQEAqp16VuTQDK/r B3k3r2QUFtORzgGPcy9I2cCL1DvgLAw= =PbZC -----END PGP SIGNATURE-----