On Wed, Feb 28, 2018 at 2:16 PM, Major Hayden <ma...@mhtx.net> wrote:
> This patch changes the `includepkgs` explanation in the yum man page
> so that it is easier to read.
>
> Signed-off-by: Major Hayden <ma...@mhtx.net>
> ---
>  docs/yum.conf.5 | 11 +++++++----
>  1 file changed, 7 insertions(+), 4 deletions(-)
>
> diff --git a/docs/yum.conf.5 b/docs/yum.conf.5
> index 221f4a8a..3ca76aaf 100644
> --- a/docs/yum.conf.5
> +++ b/docs/yum.conf.5
> @@ -1100,10 +1100,13 @@ Can be disabled using --disableexcludes.
>
>  .IP
>  \fBincludepkgs\fR
> -Inverse of exclude, yum will exclude any package in the repo. that doesn't
> -match this list. This works in conjunction with exclude and doesn't override 
> it,
> -so if you exclude=*.i386 and includepkgs=python* then only packages starting
> -with python that do not have an i386 arch. will be seen by yum in this repo.
> +This is the inverse of exclude. Yum will exclude any package in the repo that
> +doesn't match this list. This works in conjunction with exclude and doesn't
> +override it.
> +
> +For example, if you exclude=*.i386 and includepkgs=python* for a repo, then
> +only packages starting with python that do not have an i386 arch. will be
> +seen by yum in this repo.
>
>  Substitution variables, described below, are honored here.

Thanks!  I've made a PR upstream:
https://github.com/rpm-software-management/yum/pull/63
_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to