https://bugzilla.redhat.com/show_bug.cgi?id=2283850
Fabio Valentini decathorpe@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |decathorpe@gmail.com
--- Comment #6 from Fabio Valentini decathorpe@gmail.com ---
I do, but I just copy the contents to extra-patches so that it is more easily reproducible, and it doesn't affect the spec file itself, so it can be placed in either patch.
I would strongly recommend *not* to do this: It gives you only additional work for zero benefits.
Patches for Cargo.toml (i.e. with "rust2rpm -p") almost always need to be rebased for every version. So the only thing you get is divergence from other Rust packages and additional manual work every time (renaming files and removing the generated patch from the spec file).
You can save comments that apply to a manually created Cargo.toml patch with the "package.cargo-toml-patch-comments" setting. I would recommend to use this instead of abusing the "extra-patches" setting for this, which is *not* what it is intended to do. (I should know, I implemented this feature in rust2rpm.)