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

Re: Packaging guidelines: buildroot



On Wed, 2006-05-17 at 15:15 -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?

If you take an SRPM with no BuildRoot: and try to build to build it as a
regular user on just about any system it'll fail because nobody AFAIK
currently ships an rpm package with a default buildroot. So even if it's
fixed in rpm or mock, it'll be a while before it's safe to remove
BuildRoot: tags if the packager wants any semblance of portability.

Paul.


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