On Tue, 09.10.12 17:14, Panu Matilainen (pmati...@laiskiainen.org) wrote:

> On 10/09/2012 04:58 PM, Matthew Miller wrote:
> >On Tue, Oct 09, 2012 at 03:18:25PM +0200, Lennart Poettering wrote:
> >>To build such an image I'd really would have preferred not installing
> >>the docs. It appears rpm once had a feature for that where you could add
> >>excludedocs in rpmrc. This feature seems to have been removed. Why? Can
> >>we get that back? Or can I enable this for yum in some other way? Anyone
> >>has an idea?
> 
> Practically all such configuration was moved from rpmrc to macros
> eons ago. So for the last 10+ years, set "%_excludedocs 1" macro (eg
> somewhere in /etc/rpm/macros.*) to make it permament, for a signle
> run with rpm cli it's --excludedocs (which just flips the relevant
> API flag)

Ahh, good to know. Would be cool to have this googleable somewhere...

Can I pass this somehow to yum? Or do I have to creat a macro file for
this?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to