mmstick / cargo-deb

A cargo subcommand that generates Debian packages from information in Cargo.toml
615 stars 50 forks source link

Emits source-only fields for the generated binary control files #175

Closed guillemj closed 3 years ago

guillemj commented 3 years ago

The generated .deb archives contain fields that are specific to source packages, and do not belong in binary packages, as documented in the deb-control man page. Namely:

kornelski commented 3 years ago

I prefer to keep Vcs-Browser, because repo URL is usually important for Rust crates. I assume it doesn't hurt anything other than lintian's feelings.

guillemj commented 3 years ago

Yeah, it should not hurt. I don't think though any of the automated tools that make use of such fields would notice it being present in the binary package. Of course that does not preclude humans from using them. :)