Re: Packaging guidelines: buildroot

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

 



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.

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

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux