RPM Community Forums

Mailing List Message of <rpm-users>

Re: rpm on OSX Lion

From: Jeffrey Johnson <n3npq@me.com>
Date: Mon 26 Mar 2012 - 23:04:48 CEST
Message-id: <7718A206-8862-4F9C-88B9-9ECC672F1984@me.com>

On Mar 26, 2012, at 4:54 PM, Henri Gomez wrote:

> What's devtool.conf ?

This is the file where various build option stanzas are kept.

Building from CVS, the workflow goes like
	cvs co rpm
	./devtool checkout
	./devtool falmouth	# <-- the build options I use on Lion server

There is another bootstrapping stanza (i.e. all build prerequisites
are downloaded/built and rpm is linked against those builds)
in a %standalone stanza.

I personally don't use %standalone because I need to see
a maximally configured rpm to prevent bit rot while developing.

But the %standalone stanza is very useful for testing builds across a
variety of platforms without installing anything whatsoever on that machine
(which is what aft was referring to).

All that is in devtool (and devtool.conf) is a series of %foo shell stanzas.

Think "portable shell functions" and you will figure out what is being done
	./devtool checkout
	./devtool falmouth

and also
	./devtool standalone

73 de Jeff
Received on Mon Mar 26 23:04:59 2012
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.