https://bugzilla.redhat.com/show_bug.cgi?id=2434112



--- Comment #15 from Ben Beasley <[email protected]> ---
(In reply to Gwyn Ciesla from comment #14)
> I am. Where would the exclude line go? The package section?

The [package] section in Cargo.toml, as part of the "rust2rpm -p" metadata
patch. You could document it in rust2rpm.toml in
package.cargo-toml-patch-comments.

https://doc.rust-lang.org/cargo/reference/manifest.html#the-exclude-and-include-fields

There’s now also an exclude-crate-files setting that you can apply in the
[package] setting of rust2rpm.toml, with a similar effect. Per the
rust2rpm.toml man page, this one is intended for cases where “files need to be
excluded from packages for ‘crate’ sources, but submitting a patch to the
upstream project to exclude them from published crates isn’t desirable (for
example, files that are necessary during testing only).” In this case, the
exclusion is upstreamable.


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2434112

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202434112%23c15

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to