Control: retitle: dh-rust: compute ${rust:Version:*} appending subproject version
Quoting Jonas Smedegaard (2024-07-16 13:17:16) > Quoting Jonas Smedegaard (2024-07-16 12:44:40) > > ## dh_rust_substvars > > > > Resolves ${rustPkg_PKG:Version} variable for each subproject, > > where PKG is the real of virtual package providing the subproject, > > and the value is the Debian version derived from subproject version > > and source package version. > [...] > > rustPkg-oxigraph:Version=0.4.0~alpha7 > > rustPkg-librust-oxrdf-dev:Version=0.2.0~alpha5+0.4.0~alpha7 > > Current make-based workaround use shorter variables, > based on stem of conventional rust-*-dev package naming, > like this: > > rust-oxrdf:Version=0.2.0~alpha5+0.4.0~alpha7 > > That's tempting, but I imagine some may need to involve packages > that does not follow that naming convention. I just noticed (while reading `man dh_builtusing`) that substvars can contain multiple colons. I will now¹ change all affected packages to use substvar like this: rust:Version:oxigraph=0.4.0~alpha7 rust:Version:librust-oxrdf-dev=0.2.0~alpha5+0.4.0~alpha7 - Jonas ¹ Those changes won't be in released packages yet, as I am waiting from adoption of dh-rust to transition to testing. -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ * Sponsorship: https://ko-fi.com/drjones [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature