rpm-software-management / mock

Mock is a tool for a reproducible build of RPM packages.
GNU General Public License v2.0
384 stars 235 forks source link

Calculate spec/srpm (dynamic) build requires as a separate build mode #1358

Closed praiskup closed 2 months ago

praiskup commented 7 months ago

There should be a Mock mode that provides just the src.rpm with expanded BuildRequires, after successfully iterating the %generate_buildrequires specfile section.

The point is to not perform the whole package build, just %prep and %generate_buildrequires.

kdudka commented 5 months ago

This would certainly be useful for implementing the support for dynamic build requires in csmock (without the need to reimplement everything from scratch).

praiskup commented 3 months ago

In progress, see PR