[Yum-devel] [PATCH] Add more options for control over package-cleanup's --leaves option
Tim Lauridsen
tim.lauridsen at googlemail.com
Mon Mar 24 07:21:27 UTC 2008
James Bowes wrote:
> Add the following options for --leaves:
> * --exclude-devel :: Any package whose name ends in devel is not a
> leaf.
> * --exclude-bin :: Any package that has a file with 'bin' in the
> name is not a leaf.
> * --leaf-regex :: A regular expression used for deciding if a
> package is a leaf. Use "^(perl)|(python)" to
> examine perl and python packages, for example.
> Defaults to "(^lib.*)|(.*lib(|s)$)".
>
> --exclude-devel is somewhat redundant with --leaf-regex, but its probably nice to have for convenience.
>
The options and the patch looks good to me.
Tim
More information about the Yum-devel
mailing list