Packaging guidelines: buildroot

Axel Thimm Axel.Thimm at ATrpms.net
Wed May 17 21:01:18 UTC 2006


On Wed, May 17, 2006 at 03:15:18PM -0400, Bill Nottingham wrote:
> So, in the guidelines, it states that all packages should use:
> 
> %{_tmppath}/%{name}-%{version}-%{release}-%{%{__id_u} -n}
> 
> What does this have to do with the package? Nothing.
> 
> Why is this in the guidelines? Why are we putting this in spec
> files? All this does is give the developer a chance to manually
> enter information that they can get wrong. It's not like the build
> system will even use this value.
> 
> Why isn't this the default for RPM, either patched into the default
> RPM package, or in redhat-rpm-config?

Makes sense, it will make an end to the fantasy of BuildRoot name
inventes (like adding the uid ...).

But what happens when a package has no BuildRoot and neither does a
macro for it exist? Would it potentially eat the user's home?
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20060517/437e8e3c/attachment.sig>


More information about the fedora-extras-list mailing list