https://bugzilla.redhat.com/show_bug.cgi?id=2124697
Kalev Lember <klem...@redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |klem...@redhat.com --- Comment #5 from Kalev Lember <klem...@redhat.com> --- There are broadly two ways to build rust packages such as this: 1) Package all the rust crates that it needs in Fedora instead of downloading from the internet. 2) Use vendoring (another word for bundling in rust land) to include all the required rust crates in the tarball. Right now we are using option 2 in librsvg2, but over the last few days I've been trying to get the missing rust crates that it requires (there are hundreds of crates required for building librsvg2, but less than 10 are missing in Fedora right now) packaged up in Fedora proper. It's actually surprising simple to package a crate: we have a generator (rust2rpm) that spits out a ready spec file to go and it's so good that it usually doesn't need any fixes at all afterwards. So coming from the perspective of someone who has historically much preferred option 2, I think option 1 is actually very viable these days because it's so easy to package rust dependencies and because we already have a large amount of them pre-packaged. There's a rust BuildRequires generator that makes all the dependency generation automatic. See %generate_buildrequires section (currently %if'd out) in librsvg2 spec file for details :) https://src.fedoraproject.org/rpms/librsvg2/blob/rawhide/f/librsvg2.spec -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component https://bugzilla.redhat.com/show_bug.cgi?id=2124697 _______________________________________________ package-review mailing list -- package-review@lists.fedoraproject.org To unsubscribe send an email to package-review-le...@lists.fedoraproject.org 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/package-review@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue