#127 Review Copr capabilities
Closed: Fixed 3 years ago by mcurlej. Opened 5 years ago by msuchy.

Copr is able to build modules. But since we started implementing this feature, modularity made a huge step ahead. Can you please try to build a module in Copr and give to Copr team feedback what capabilities we are missing? With the focus on building 3rd party modules for Fedora.


Where do I submit modulemd for build in COPR?

Just for fun, I clicked to create a module and it spawned 16(!) libsolv builds here: https://copr.fedorainfracloud.org/coprs/ignatenkobrain/libsolv-testing/builds/

@asamalik "To be clear, the following is not a supported way to build modules, but it does work and covers most of the bases." Should I read past that? Ok, will do... "To create a module-compatible RPM, add the following line to your spec file..." What? We cannot modify the SRC.RPM.

The RPMs from a module have to have dist tag modified. The only way to achive that is to rebuild them. So we do.

@asamalik "To be clear, the following is not a supported way to build modules, but it does work and covers most of the bases." Should I read past that? Ok, will do... "To create a module-compatible RPM, add the following line to your spec file..." What? We cannot modify the SRC.RPM.
The RPMs from a module have to have dist tag modified. The only way to achive that is to rebuild them. So we do.

The sentence immediately before the one you quoted is "If you are trying to create a module from RPMs that you didn’t build, you can probably get away with skipping this step, provided that you don’t care if there might be unpredictable behavior if you encounter a broken repo mirror."

Creating a tutorial together with @frostyx on how to build a module in COPR:

WIP PR: https://pagure.io/fedora-docs/modularity/pull-request/82

Metadata Update from @mcurlej:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

3 years ago

Fixed by the COPR tutorial merged

Login to comment on this ticket.

Metadata