[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: rpmmacros file creation

From: josh lucas <lucas_at_collab.net>
Date: 2002-04-22 23:50:37 CEST

On Mon, 2002-04-22 at 14:10, Greg Stein wrote:
> On Mon, Apr 22, 2002 at 12:08:17PM -0700, josh lucas wrote:
> >...
> > The problem was that a .rpmmacros file was created by Subversion's
> > Makefile. I understand that having this file created allows for
> > non-root users to build rpms but I think more than just a simple echo
> > should inform the builder. Perhaps something in the README file so that
> > you could at least just touch ~/.rpmmacros so nothing will be added. Or
> > maybe Subversion should delete the file if it created the file.
>
> Is there a way to avoid the file altogether? (preferred)
>
> If not, is there a way to place it somewhere else, and just point RPM at the
> new location?
>
> [ hrm. 'man rpm' doesn't seem to show a way... ]

This is what I do to have a non-root user build rpms. I just set
_topdir to the right directory and then have SPECS, SOURCES, BUILD, RPMS
and SRPMS directories inside there. These mirror what rpm expects so
you don't have to set the other values found in rpmmacros.

>
>
> A larger notice is the least that we can do, if we have to leave it. I'd be
> a bit uncomfortable about removing it, in case we somehow forget whether we
> created it or not, and tossed out a user's file.
>

true. That would be something extra to manage which is pretty much not
needed.

josh

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 22 23:52:30 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.