[Pkg-rust-maintainers] Patch metadata in packages
Josh Triplett
josh at joshtriplett.org
Sun Jun 24 19:48:35 BST 2018
On Sun, Jun 24, 2018 at 02:01:20PM +0200, Paul van Tilburg wrote:
> Hi,
>
> I have noticed that patch metadata (i.e. the .pc dir) ends up in all
> the -dev packages, even if there are no patches, and this is kind of
> useless. Do you want me to file a bug report for that against
> dh-cargo?
>
> See for example this package listing (still in NEW):
> https://ftp-master.debian.org/new/rust-lazy-static_1.0.1-1.html#binary-
> librust-lazy-static-dev-contents
> any built rust-*-dev deb on your system will have it.
Argh. Checking upstream, it looks like the lazy_static crate does not
include this directory, so it's an artifact of the Debian package build.
It'd be trivial for dh-cargo to exclude the .pc directory, just as it
currently excludes the debian directory and .git directory. It's
theoretically possible that an upstream crate could include a .pc
directory; it *shouldn't*, but it could. Hopefully that doesn't happen.
More information about the Pkg-rust-maintainers
mailing list