Bug#615940: dpkg-gensymbols: support a #CURVER# substitution to generate strict dependencies

Chris Hofstaedtler <[email protected]> Sat, 20 Dec 2025 14:11:51 +0100
Newsgroups gmane.linux.debian.devel.dpkg.bugs
Message-ID <aUagl50dO9m9SZuU__4512.73225933022$1766239269$gmane$org@per.namespace.at>
On Tue, Mar 01, 2011 at 08:47:58AM +0100, Raphael Hertzog wrote:
> What is missing however is a way to have that alternate dependency
> embed the strict versioning scheme. For this we need to support a new
> #CURVER# substitution that is replaced with the current version so that
> we can keep the associated dependency in sync with the latest version of
> the package.

I'd also like this. For src:multipath-tools I've for now copied the 
solution from src:dbus:

https://sources.debian.org/src/dbus/1.16.2-2/debian/libdbus-1-3.symbols.in#L2
https://sources.debian.org/src/dbus/1.16.2-2/debian/rules#L265

Thanks,
Chris