[CentOS-devel] build-from-scratch: SRPM Build order now working

Jeff Johnson n3npq at mac.com
Fri Aug 22 16:11:04 UTC 2008


On Aug 22, 2008, at 11:57 AM, Brian Schüler wrote:

> Hi folks,
>
> Calculating the build order out of a set of source RPMs is now  
> possible (even with BuildRequires
> from sources which are not included). The little trick  rpm -E  
> "`cat foo.spec`"  did it. Special thanks
> to Jeff J.! But I have to shorten the output to the essentials  
> because 'rpm' is crashing when the output
> of the spec file is too long.
>

There's a dinky standalone utility that will do the expansion w/o
being limited by rpm's fixed buffer size in mezzanine.

Find Michael Jennings (who wrote mezzanine) on #cAos or @rpm5.org.

hth

73 de Jeff


More information about the CentOS-devel mailing list