rpm package building as non-root (was: Re: src.rpm standards)

Stephen Smoogen smoogen at lanl.gov
Thu Jan 29 15:44:21 UTC 2004


On Thu, 2004-01-29 at 02:02, Mike A. Harris wrote:
> On Thu, 29 Jan 2004, Daniel Roesen wrote:
> 
> >Date: Thu, 29 Jan 2004 09:40:55 +0100
> >From: Daniel Roesen <dr at cluenet.de>
> >To: fedora-devel-list at redhat.com
> >Content-Type: text/plain; charset=us-ascii
> >List-Id: Development discussions related to Fedora Core
> >    <fedora-devel-list.redhat.com>
> >Subject: Re: rpm package building as non-root  (was: Re: src.rpm standards)
> >
> >On Thu, Jan 29, 2004 at 02:11:05AM -0500, Mike A. Harris wrote:
> >> I've got a tarball with stuff in it for people to get started 
> >> building rpms with this approach, with a similar config to mine, 
> >> located at:
> >> 
> >> 	ftp://people.redhat.com/mharris/hacks   rpmbuild-nonroot*
> >
> >Hm, this looks wrong:
> >
> >%_tmppath       %{_topdir}/tmp
> >%_buildroot     %{_topdir}/%{_tmppath}/%{name}-%{version}-root
> >
> >I think the "%{_topdir}/" in the second line is too much.
> 
> Ah yes, a bug fixed long ago in my local config (which is 
> harmless BTW), but nobody noticed it in the rpmbuild-nonroot 
> before including me.  ;o)
> 
> Thanks for pointing it out.
> 
> 

Thanks Mike. I have been handrolling my own .rpm stuff for a while
because I couldnt remember who had this stuff. I think a couple of
website links to that tar-ball would help people googling for answers
also.

I am going to dig through this to see if there are any other items to
change :).

> -- 
> Mike A. Harris     ftp://people.redhat.com/mharris
> OS Systems Engineer - XFree86 maintainer - Red Hat
-- 
Stephen John Smoogen		smoogen at lanl.gov
Los Alamos National Lab  CCN-5 Sched 5/40  PH: 4-0645
Ta-03 SM-1498 MailStop B255 DP 10S  Los Alamos, NM 87545
-- So shines a good deed in a weary world. = Willy Wonka --





More information about the fedora-devel-list mailing list