[RndTbl] a tool for building many related SRPMs?

Trevor Cordes trevor at tecnopolis.ca
Tue Feb 16 23:14:02 CST 2016


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.)


More information about the Roundtable mailing list