On 11/06/2021 07.57, Robert-André Mauchin wrote:
On 6/11/21 6:27 AM, Fabio M. Di Nitto wrote:
Hey everyone,
I have been reading the current guideline here:
https://docs.fedoraproject.org/en-US/packaging-guidelines/Rust/
and for the most it´s pretty clear when packaging a standalone crate /
rust generated binaries (given this is my very first step into
understanding rust).
I am currently facing a slightly different challenge as my upstream
project, a bunch of C shared libraries (also available in Fedora),
will soon grow rust bindings.
The rust code will be part of the normal upstream tarball / etc. that
will include at that point a mix of different languages.
The upstream build system already takes care to call into cargo for
example and I am wondering how the current rust rpm macros are going
to work with it (or viceversa).
Does anyone have experience in packaging mixed sources?
Could you share your spec file please (or just the srpm name ;))
Thanks
Fabio
I can't really help you, but it would be helpful to link the upstream
project your are trying to build.
https://github.com/kronosnet/kronosnet
https://github.com/kronosnet/kronosnet/pull/338
the PR would add the rust bindings to the project.
Also CCing the other Fabio who is most up to date with Rust packages.
thanks! appreciated.
Cheers
Fabio
Best regards,
Robert-André
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure