rpm-software-management / mock

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

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

Open praiskup opened 2 months ago

praiskup commented 2 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 2 weeks ago

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