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



--- Comment #2 from Fabio Valentini <[email protected]> ---
You can look at several other projects in Fedora (or pending import) that have
already adopted this approach:

- firecracker
- ntpd-rs
(https://github.com/decathorpe/ntpd-rs-rpms/blob/main/ntpd-rs/ntpd-rs.spec)
- system76-keyboard-configurator (does not use %cargo_generate_buildrequires
with workspace support yet)

You *can* use rust2rpm for workspace projects (download sources from GitHub,
extract them, and run "rust2rpm ./Cargo.toml" in the unpacked sources), but it
does not automate patching Cargo.toml files.

But the way it's done right now is not correct, i.e. packaging private
components / unpublished workspace members is forbidden:
https://docs.fedoraproject.org/en-US/packaging-guidelines/Rust/#_package_sources

If it helps, I can try to provide a WIP spec file for an all-in-one package.


-- 
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=2237084

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202237084%23c2
_______________________________________________
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://pagure.io/fedora-infrastructure/new_issue

Reply via email to