Packaging guidelines: buildroot

Michael A. Peters mpeters at mac.com
Wed May 17 20:26:48 UTC 2006


On Wed, 2006-05-17 at 21:10 +0100, Paul Howarth wrote:

> 
> Of course it is, but that doesn't help all the legacy/other distros that
> don't set the default in this way. If someone wants to rebuild a
> buildroot-less SRPM on such a system, they'll need to edit the spec file
> or their rpmmacros file, which in the case of end users trying to get a
> package working on their system is a whole extra layer of hassle.

No one should ever build an RPM as root, so the end user should have
either a clean buildsystem (ie mock/mach) or a ~/.rpmmacros file anyway.

The shell script that sets it all up for the end user is fairly easy to
find on the web if you do not already have it available in your distro.

rebuilding an rpm is something that can always cause problems for those
who do not know what they are doing (such as linking against libraries
not in the rpm database, etc.) and for those having trouble, they _can_
rtfm.




More information about the fedora-extras-list mailing list