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: Tue, 31 Oct 2017 09:17:37
Message-Id: 1509276134.0a2577bd7ac038a2b6849a40bc0a05fe3d535bd5.ulm@gentoo
1 commit: 0a2577bd7ac038a2b6849a40bc0a05fe3d535bd5
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 29 11:22:14 2017 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 29 11:22:14 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=0a2577bd
7
8 Straighten out specification of integer version components.
9
10 Reported-by: John R. Graham <john_r_graham <AT> gentoo.org>
11 Closes: https://bugs.gentoo.org/635340
12
13 names.tex | 10 +++++-----
14 1 file changed, 5 insertions(+), 5 deletions(-)
15
16 diff --git a/names.tex b/names.tex
17 index d00088e..7bf9475 100644
18 --- a/names.tex
19 +++ b/names.tex
20 @@ -61,16 +61,16 @@ upon the length of any component. Package managers should indicate or reject any
21 invalid according to the rules below.
22
23 A version starts with the number part, which is in the form \t{[0-9]+(\textbackslash.[0-9]+)*}
24 -(a positive integer, followed by zero or more dot-prefixed positive integers).
25 +(an unsigned integer, followed by zero or more dot-prefixed unsigned integers).
26
27 This may optionally be followed by one of \t{[a-z]} (a lowercase letter).
28
29 -This may be followed by zero or more of the suffixes \t{_alpha}, \t{_beta}, \t{_pre},
30 -\t{_rc} or \t{_p}, which themselves may be followed by an optional integer. Suffix and integer
31 +This may be followed by zero or more of the suffixes \t{_alpha}, \t{_beta}, \t{_pre}, \t{_rc}
32 +or \t{_p}, each of which may optionally be followed by an unsigned integer. Suffix and integer
33 count as separate version components.
34
35 -This may optionally be followed by the suffix \t{-r} followed immediately by an integer (the
36 -``revision number''). If this suffix is not present, it is assumed to be \t{-r0}.
37 +This may optionally be followed by the suffix \t{-r} followed immediately by an unsigned integer
38 +(the ``revision number''). If this suffix is not present, it is assumed to be \t{-r0}.
39
40 \section{Version Comparison}