On Wed, Dec 13, 2023 at 4:57 PM Julio Faracco <jfara...@redhat.com> wrote:
>
> Hi everybody!
>
> Koji mocks does not access the internet during the build stage.
> What are the recommendations when my project has some content inside
> CMake to clone subrepos to compile my code?
>
> Do you have any guidelines for this? Honestly, I tried to google it,
> but I'm not finding something useful or a real example.

This situation can be handled by either

1. un-bundling subprojects (i.e. packaging them as separate packages
and depending on them for the build), or
2. providing the sources for subprojects as separate tarballs and
unpack them where expected during %prep step

and usually Option 1 is preferred in Fedora, but it will depend on the
exact circumstances and what kinds of subprojects you're dealing with.

Fabio
--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-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/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to