From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A8BAB1396D9 for ; Tue, 31 Oct 2017 09:17:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E49F52BC009; Tue, 31 Oct 2017 09:17:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C0B4F2BC009 for ; Tue, 31 Oct 2017 09:17:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5BB333416A9 for ; Tue, 31 Oct 2017 09:17:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE6C183C for ; Tue, 31 Oct 2017 09:17:32 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1509276134.0a2577bd7ac038a2b6849a40bc0a05fe3d535bd5.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master commit in: / X-VCS-Repository: proj/pms X-VCS-Files: names.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 0a2577bd7ac038a2b6849a40bc0a05fe3d535bd5 X-VCS-Branch: master Date: Tue, 31 Oct 2017 09:17:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ab56443b-ad3f-41fb-8b15-7469ca377fe2 X-Archives-Hash: e2fee7379d9df5ddf41b0bac5579132f commit: 0a2577bd7ac038a2b6849a40bc0a05fe3d535bd5 Author: Ulrich Müller gentoo org> AuthorDate: Sun Oct 29 11:22:14 2017 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Oct 29 11:22:14 2017 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=0a2577bd Straighten out specification of integer version components. Reported-by: John R. Graham gentoo.org> Closes: https://bugs.gentoo.org/635340 names.tex | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/names.tex b/names.tex index d00088e..7bf9475 100644 --- a/names.tex +++ b/names.tex @@ -61,16 +61,16 @@ upon the length of any component. Package managers should indicate or reject any invalid according to the rules below. A version starts with the number part, which is in the form \t{[0-9]+(\textbackslash.[0-9]+)*} -(a positive integer, followed by zero or more dot-prefixed positive integers). +(an unsigned integer, followed by zero or more dot-prefixed unsigned integers). This may optionally be followed by one of \t{[a-z]} (a lowercase letter). -This may be followed by zero or more of the suffixes \t{_alpha}, \t{_beta}, \t{_pre}, -\t{_rc} or \t{_p}, which themselves may be followed by an optional integer. Suffix and integer +This may be followed by zero or more of the suffixes \t{_alpha}, \t{_beta}, \t{_pre}, \t{_rc} +or \t{_p}, each of which may optionally be followed by an unsigned integer. Suffix and integer count as separate version components. -This may optionally be followed by the suffix \t{-r} followed immediately by an integer (the -``revision number''). If this suffix is not present, it is assumed to be \t{-r0}. +This may optionally be followed by the suffix \t{-r} followed immediately by an unsigned integer +(the ``revision number''). If this suffix is not present, it is assumed to be \t{-r0}. \section{Version Comparison}