FESCo Meeting Summary for 2007-02-08

Michael Schwendt bugs.michael at gmx.net
Thu Feb 15 13:54:24 UTC 2007


On Thu, 15 Feb 2007 14:14:40 +0100, Axel Thimm wrote:

> > "mktemp" in the spec file BuildRoot tag is getting far too annoying,
> > especially since I do not like anything in my spec file which is not used
> > during my local test-builds, and because failure conditions are not dealt
> > with. I don't know yet what's necessary to block it from becoming
> > mandatory, but it's ridiculous, giving the fact that it will return a
> > fresh tmp dir with every invocation of rpmbuild.
> 
> Check Ville's posting on fedora-packaging on correcting this. And FWIW
> I personally think this is the lesser evil. The real "solution" would
> be to leave buildroots w/o any mandatory clause.

mktemp -ud also returns a new path with every invocation. A buildroot that
becomes a moving target (even when overriding %_tmppath) is impractical for
--short-circuit builds or anything where you would want to examine the
buildroot contents.




More information about the fedora-extras-list mailing list