[PATCH 6/6] kexec-tools: Use default rpmbuild definations

Ameya Palande ameya.palande at nokia.com
Mon Mar 22 04:56:31 EDT 2010


On Sat, 2010-03-20 at 10:43 +0100, ext Bernhard Walle wrote:
> Am 19.03.2010 21:37, schrieb Eric W. Biederman:
> > Ameya Palande <2ameya at gmail.com> writes:
> > 
> >> Since current mechanism for building rpm into custom directory is not working,
> >> remove it and switch to system defaults for rpmbuild.
> > 
> > Does RPM really bit rot that quickly?
> > 
> > I know at the time I added the code it was the only way I could
> > get rpm to build an rpm without being root.  Something that seems
> > desirable.

I can build rpm on ubuntu 9.10 as a normal user without having this
custom "rpm" directory.

> It works here on openSUSE 11.1 when I change
> 
> -RPMDIR=rpm
> +RPMDIR=$(shell pwd)/rpm

On Ubuntu 9.10 when I removed RPMDIR stuff, rpmbuild command takes
system defaults and builds rpm in $HOME/rpmbuild directory.

Cheers,
Ameya.




More information about the kexec mailing list