Packaging guidelines: buildroot

Bill Nottingham notting at redhat.com
Wed May 17 20:06:04 UTC 2006


Paul Howarth (paul at city-fan.org) said: 
> > 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.

I see no reason why the default can't be pulled from the stock
system RPM macros; in fact, that's the logical place for it,
rather than per-package.

Bill




More information about the fedora-extras-list mailing list