https://bugzilla.redhat.com/show_bug.cgi?id=2283850
--- Comment #5 from Cristian Le fedora@lecris.me --- Spec URL: https://github.com/LecrisUT/rusty_parserk-paseto-rpmspec/raw/a68b2628e1f4ead... SRPM URL: https://download.copr.fedorainfracloud.org/results/packit/LecrisUT-rusty_par...
rust2rpm.toml ```toml [[package.extra-patches]] comments = [ "Patch Cargo.toml:", "- Remove examples", "- Relax erased-serde to 0.4.4", "- Relax iso8601 to >=0.4.2", ] file = "rust-rusty_paseto-0.7.1-Patch_dependencies.diff" number = 10
[scripts.prep] post = [ "# Remove examples", "rm -r examples", ] ```
---
why don't you use rust2rpm -p for this?
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.
Check line encodings and send a patch upstream
Thanks, PR sent: https://github.com/rrrodzilla/rusty_paseto/pull/41 Should we fix them in the spec file for 0.7.1, or keep it like this since it only affects the -devel package?