Heads-up: brand new RPM version about to hit rawhide

Nils Philippsen nphilipp at redhat.com
Thu Jul 10 10:17:03 UTC 2008


On Wed, 2008-07-09 at 19:41 +0300, Panu Matilainen wrote:
> On Wed, 9 Jul 2008, Tom "spot" Callaway wrote:
> 
> > On Wed, 2008-07-09 at 13:51 +0300, Panu Matilainen wrote:
> >> 4) BuildRoot from spec is ignored. Rpm now defaults to buildroot under
> >>     %{_topdir}/BUILDROOT/
> >
> > A few questions here:
> >
> > Is the BuildRoot from the spec ignored, or does it override the default
> > buildroot?
> 
> BuildRoot from spec is completely ignored.
> 
> > Is the default buildroot literally "%{_topdir}/BUILDROOT/" or is it
> > something more complicated. I could easily see a case where two
> > concurrent rpm builds could step on each other's buildroots.
> 
> The default buildroot is currently defined literally this way:
> %buildrootdir   %{_topdir}/BUILDROOT
> %buildroot 	%{_buildrootdir}/%{name}-%{version}-%{release}.%{_arch}

Hmm, this could (possibly) clash in the (unlikely) case of building the
same n-v-r.a concurrently as a real and scratch build in koji (or two or
more scratch builds). Perhaps koji should set a unique %_buildrootdir as
it does up to now with %_tmppath?

Nils
-- 
     Nils Philippsen    /    Red Hat    /    nphilipp at redhat.com
"Those who would give up Essential Liberty to purchase a little Temporary
 Safety, deserve neither Liberty nor Safety."  --  B. Franklin, 1759
 PGP fingerprint:  C4A8 9474 5C4C ADE3 2B8F  656D 47D8 9B65 6951 3011




More information about the fedora-devel-list mailing list