[Rpm-maint] [PATCH] rpmbuild: clean up buildroot handling, set a default buildroot
Tom 'spot' Callaway
tcallawa at redhat.com
Thu Feb 15 19:56:44 UTC 2007
On Thu, 2007-02-15 at 14:42 -0500, Bill Nottingham wrote:
> Tom 'spot' Callaway (tcallawa at redhat.com) said:
> > On Thu, 2007-02-15 at 14:35 -0500, Bill Nottingham wrote:
> > > Paul Nasrat (pnasrat at redhat.com) said:
> > > > Could you supply an updated patch in a new thread.
> > >
> > > Will do. Note that setting it in the macros by default means that
> > > the behavior will change on any package that includes BuildRoot
> > > (as the macro value will be used over that.)
> >
> > Is this really what we want?
> >
> > IMHO, it should be:
> >
> > rpm's default is trumped by system wide macro is trumped by local spec
> > defines.
>
> At this point, I'll settle for whatever upstream wants - what was
> suggested is that rpm defaults to none to preserve compatibility, and
> you can set it in a system-wide macro.
But that's patently dangerous.
When do we EVER want the default buildroot to be none (which equates
to /) ? There's never a good case in my mind for that.
~spot
More information about the Rpm-maint
mailing list