[Fedora-packaging] BuildRoot and mktemp -d

Jon Masters jcm at redhat.com
Tue Feb 13 23:03:15 UTC 2007

Rex Dieter wrote:
> Ville Skyttä wrote:
>> Using mktemp -d in specfiles' BuildRoot means that quite a few stray temp dirs 
>> will start to appear in %{_tmppath}.  For example "rpm -q --specfile 
>> foo.spec" and "rpmbuild -bs foo.spec" create them, and nothing cleans them up 
>> (no, tmpwatch doesn't count) - we probably don't want that.
> Isn't that what %clean is for?

That's what I use it for...


More information about the Fedora-packaging mailing list