Hi All,
Do you know if there is there a lightweight, more or less distro-agnostic (to work on CentOS 6 without big modifications to the system) tool to build a bunch of inter-dependent RPMs from source RPMS?
Something like AUR on Arch but for RPMs?
Thanks!
-- Grigory Shamov Westgrid/ComputeCanada Site Lead University of Manitoba E2-588 EITC Building, (204) 474-9625
On 2016-02-16 Grigory Shamov wrote:
Hi All,
Do you know if there is there a lightweight, more or less distro-agnostic (to work on CentOS 6 without big modifications to the system) tool to build a bunch of inter-dependent RPMs from source RPMS?
On a pre-dnf system (like RHEL6):
yum-builddep --downloadonly <packagename>
Will show/download every src rpm required to build said package (deps). Remove the --downloadonly to download AND do something (build? dunno?) them. Maybe that does it all, maybe.
If not, you could easily script a loop or maybe even just do:
rpmbuild -ba SPECS/*
from your root build dir.
That should do what you want in either 1 or maybe 2 steps (and a few coffees).
(There must be a dnf version for modern Fedoras (and soon(?) RHEL) but I haven't needed it...yet.)