From: Zac Medico Date: Fri, 6 Aug 2010 12:09:30 +0000 (-0700) Subject: Bug #331413 - Clarify valid $VERSION parts that may be used in X-Git-Tag: v2.2_rc68~383 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6d935d3362d9bff8da88e2e7a02062a879e7017e;p=portage.git Bug #331413 - Clarify valid $VERSION parts that may be used in conjunction with the =$CATEGORY/$PN-$VERSION* atom operator. --- diff --git a/man/ebuild.5 b/man/ebuild.5 index 5c71cbead..e39366535 100644 --- a/man/ebuild.5 +++ b/man/ebuild.5 @@ -288,7 +288,10 @@ beginning with \fBEAPI 2\fR. .br \fI*\fR means match any version of the package so long as the specified base is matched. So with a version of '2*', we can match '2.1', '2.2', '2.2.1', -etc... and not match version '1.0', '3.0', '4.1', etc... +etc... and not match version '1.0', '3.0', '4.1', etc... The version part +that comes before the '*' must be a valid version in the absence of the '*'. +For example, '2' is a valid version and '2.' is not. Therefore, '2*' is +allowed and '2.*' is not. .br \fI~\fR means match any revision of the base version specified. So in the above example, we would match versions '1.0.2a', '1.0.2a\-r1', '1.0.2a\-r2',