[WBEL-users] Upgrading to 2.6.9-42.0.3

Kris Deugau kdeugau at deepnet.cx
Wed Nov 15 09:02:59 CST 2006


Vic wrote:
> Yes.
> 
> Have a look at the .spec file - it has the lines :
> 
> %define buildup 1
> %define buildsmp 1
> %define buildsource 0
> %define buildhugemem 1
> %define buildlargesmp 1
> 
> Change the "1"S to "0"s if you don't want to build that version.

To flip options like this directly from the command line, you can also
use the --define option to rpmbuild (seems to be missing from the man
page, but rpmbuild --help lists it).

eg:

rpmbuild -ba --define 'buildsmp 0' \
	--define 'buildhugemem 0' \
	--define 'buildlargesmp 0' kernel.spec

(I think that's right;  I don't use it often.  But it *does* work.)

-kgd
-- 
Get your mouse off of there!  You don't know where that email has been!


More information about the Whitebox-users mailing list