[Pkg-rust-maintainers] Bug#1096103: dh-cargo: Use new substvar assignment syntax for optionally used variables
Guillem Jover
guillem at debian.org
Sun Feb 16 11:15:31 GMT 2025
Package: dh-cargo
Version: 31
Severity: normal
Tags: patch
Hi!
Prompted by a discussion about lintian warnings about
Static-Built-Using usage (via Holger Levsen), I realized that dh-cargo
was most probably not using the new substvars assignment syntax to
avoid warning when the variables do not get used.
I'm assuming the cargo:Built-Using and the cargo:X-Cargo-Built-Using
are considered obsolete and supported currently for backwards
compatibility until all rust packages have been switched to use
cargo:Static-Built-Using. But it could be that there are legitimate
uses for cargo:Built-Using (due to license compliance)?
Attached an untested patch improving this. (A similar change was
recently applied for dh-golang, which is in a similar situation.)
Thanks,
Guillem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dh-cargo-built-using-Use-operator-for-obsolete-subst.patch
Type: text/x-diff
Size: 1433 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20250216/578cd5d6/attachment-0001.patch>
More information about the Pkg-rust-maintainers
mailing list