Kernel Rebuild Question

Nifty Hat Mitch mitch48 at sbcglobal.net
Fri Jan 14 19:31:59 UTC 2005


On Wed, Jan 05, 2005 at 01:33:29PM -0600, Satish Balay wrote:
> On Wed, 5 Jan 2005, Satish Balay wrote:
> 
> > rpmbuild --rebuild --target=i686  --define 'buildsmp 0'  kernel.src.rpm
> 
> Ah.. this won't work - as '%define' in the specfile has precedence
> over command line..

Where does $HOME/.rpmmacros play in the precedence list?

He will want to sign his rebuilt package too.  These can help....
   $ cat .rpmmacros
   %_signature gpg
   %_gpg_path /home/HimOrHer/.gnupg
   %_gpg_name Him Or Her <somebody at someplace.com>
   %_gpgbin /usr/bin/gpg

If the precedence list slurps this up last then
the right thing will happen.


-- 
	T o m  M i t c h e l l 
	spam unwanted email.
	SPAM, good eats, and a trademark of  Hormel Foods.




More information about the users mailing list