Using --excludedocs and --excludepath with yum

Paul Nasrat pnasrat at redhat.com
Mon Jun 4 03:48:36 EDT 2007


On Sun, 2007-06-03 at 23:37 -0400, Bernardo Innocenti wrote:
> Is it possible?
> 
> This would reduce the amount of postprocessing
> we need to do when building OLPC images.

excludedocs can be done using the ability to set macros which are
available within the rpm-python api, so you could easily write a plugin
to handle this, or use a macro file in /etc/rpm/macros.nodocs or
something.

Excludepath is essentially a special case (NULL) relocation, and
relocations currently aren't supported within rpm-python.

Paul




More information about the Devel mailing list