Should packages be quiet when nodocs flag is used?

Chris Adams cmadams at hiwaay.net
Sun Dec 21 16:05:34 UTC 2008


Once upon a time, Jesse Keating <jkeating at redhat.com> said:
> On Sun, 2008-12-21 at 07:40 +0200, Manuel Wolfshant wrote:
> > packages  should skip installing ALL the docs. info pages are doc.
> 
> Well, it does skip it, however it's the %post command that isn't setup
> to account for that.  Apparently you have to mung some file after the
> rpm is installed to update a cache or something.

Is there a way for a %post to know if --excludedocs was set?

Alternately, maybe RPM should take care of this step, not every package
that wants to install info pages.  If you excludedocs, you'll still get
the install-info Requires for each of those packages, even though it is
not really required now.
-- 
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.




More information about the devel mailing list