debian-rules-parses-dpkg-parsechangelog
The rules file appears to be parsing the output of dpkg-parsechangelog to determine the current package version name, version, or timestamp, etc.
Since dpkg 1.16.1, this could be replaced by including the /usr/share/dpkg/pkg-info.mk Makefile library and using the DEB_{SOURCE,VERSION} or SOURCE_DATE_EPOCH variables.
Using this library is not only cleaner and more efficient, it handles many corner-cases such as binNMUs, epoch versions, etc.
The tag is present in Lintian version 2.114.163
.
That is the most recent version we know about.
We use semantic versions.
The patch number is a commit step indicator relative to the
2.114.0
release tag in our Git
repository.
You can find the detection logic for this version at commit ea05801. For merge requests, please use the latest version in the Lintian check debian/rules.
Visibility: info