Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pms:master commit in: /
Date: Sun, 11 Oct 2015 19:13:21
Message-Id: 1442945281.cb99e4dcb5837626320b1fba0277d0fa7c1c9829.ulm@gentoo
1 commit: cb99e4dcb5837626320b1fba0277d0fa7c1c9829
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 22 18:08:01 2015 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 22 18:08:01 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=cb99e4dc
7
8 The =* dependency operator can only match complete version components.
9
10 Bug: 560466
11
12 dependencies.tex | 9 +++++----
13 names.tex | 3 ++-
14 2 files changed, 7 insertions(+), 5 deletions(-)
15
16 diff --git a/dependencies.tex b/dependencies.tex
17 index 58c86f9..fcfce9b 100644
18 --- a/dependencies.tex
19 +++ b/dependencies.tex
20 @@ -232,10 +232,11 @@ The following operators are available:
21 \begin{description}
22 \item[\t{<}] Strictly less than the specified version.
23 \item[\t{<=}] Less than or equal to the specified version.
24 -\item[\t{=}] Exactly equal to the specified version. Special exception: if the version
25 - specified has an asterisk immediately following it, a string prefix comparison is
26 - used instead. When an asterisk is used, the specification must remain valid if the
27 - asterisk were removed. (An asterisk used with any other operator is illegal.)
28 +\item[\t{=}] Exactly equal to the specified version. Special exception: if the version specified
29 + has an asterisk immediately following it, then only the given number of version components
30 + is used for comparison, i.\,e.\ the asterisk acts as a wildcard for any further components.
31 + When an asterisk is used, the specification must remain valid if the asterisk were removed.
32 + (An asterisk used with any other operator is illegal.)
33 \item[\t{\textasciitilde}] Equal to the specified version when revision parts are ignored.
34 \item[\t{>=}] Greater than or equal to the specified version.
35 \item[\t{>}] Strictly greater than the specified version.
36
37 diff --git a/names.tex b/names.tex
38 index d79499d..2fc59b6 100644
39 --- a/names.tex
40 +++ b/names.tex
41 @@ -59,7 +59,8 @@ integer, followed by zero or more dot-prefixed positive integers).
42 This may optionally be followed by one of \t{[a-z]} (a lowercase letter).
43
44 This may be followed by zero or more of the suffixes \t{\_alpha}, \t{\_beta}, \t{\_pre},
45 -\t{\_rc} or \t{\_p}, which themselves may be suffixed by an optional integer.
46 +\t{\_rc} or \t{\_p}, which themselves may be followed by an optional integer. Suffix and integer
47 +count as separate version components.
48
49 This may optionally be followed by the suffix \t{-r} followed immediately by an integer (the
50 ``revision number''). If this suffix is not present, it is assumed to be \t{-r0}.