From mdomonko at redhat.com Fri Mar 2 09:04:04 2018 From: mdomonko at redhat.com (Michal Domonkos) Date: Fri, 2 Mar 2018 10:04:04 +0100 Subject: [PATCH] Make includepkgs explanation easier to read In-Reply-To: <20180228131647.28060-1-major@mhtx.net> References: <20180228131647.28060-1-major@mhtx.net> Message-ID: On Wed, Feb 28, 2018 at 2:16 PM, Major Hayden wrote: > This patch changes the `includepkgs` explanation in the yum man page > so that it is easier to read. > > Signed-off-by: Major Hayden > --- > 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