Strange mock behaviour - buildrequires in the host?

Martin Langhoff martin.langhoff at gmail.com
Sun Jul 27 02:38:49 UTC 2008


On Thu, Jul 24, 2008 at 9:19 PM, Paul Howarth <paul at city-fan.org> wrote:
> The fix for this is to remove (patch out) the "-o httpd" option from the
> install section of the Makefile (the chown won't work as a non-root user,
> and RPMs should always be built as non-root users), and instead use %attr in
> the spec file's %files section to indicate that the installed file should be

Thanks! I hadn't seen the reply earlier - probably due to the odd
reply-to settings in the list). This is the same conclusion I came to.

For tools other software tools that expect to chown from within their
Makefile, this is probably a bit awkward.

> This method will mean that you don't need to buildrequire httpd too

Yes. Removed that one too.

thanks!



martin
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff




More information about the fedora-devel-list mailing list