Re: Advice on packaging Python with Rust dependency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 02, 2022 at 10:48:27AM +0100, Ondrej Pohorelsky wrote:
> Thanks, that did the trick!
> 
> The only problem is, that one of the other dependencies which I haven't caught
> before is not packaged in Fedora.
> So I guess there is no other way than vendor all dependencies or package the
> missing dependency myself.

See how memfd is bundled here:

http://oirase.annexia.org/reviews/libblkio/libblkio.spec

(This is a package under review, not actually in Fedora yet, but the
principle is the same).

Note the vendor tarball which just contains the single missing
package, the "Provides: bundled..." line, and the update to Cargo.toml
so that cargo will use the bundled package and not try to download it.

You should also create a BZ to get the missing rust package added to
Fedora long term.  We are working on that for memfd too.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
_______________________________________________
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, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux