On Thu, Mar 25, 2010 at 09:34:52PM +0100, Bernhard Walle wrote: > Am 24.03.2010 12:30, schrieb Simon Horman: > > On Sat, Mar 20, 2010 at 10:43:49AM +0100, 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. > >> > >> It works here on openSUSE 11.1 when I change > >> > >> -RPMDIR=rpm > >> +RPMDIR=$(shell pwd)/rpm > >> > >> Of course only after applying the other patches... > > > > That seems reasonable to me, care to make it a proper patch? > > Since 529ad47e356a8e68be9cde771af8e909a784c3fc has been applied which > removes that code, this is no longer possible. ;) ;) > > However, I'm fine with that change. The user can always create a custom > ~/.rpmmacros like > > %_topdir /home/bwalle/src/packages > > to build the RPM in a local tree. Ok, that seems reasonable to me too.