Re: BuildRoot and mktemp -d

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

> One way to avoid it is mktemp -ud, but it's more racy than plain -d.

I doubt this would work.

-- Rex

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux