summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-08 09:38:37 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-08 09:38:37 (EDT)
commit2a0e941436510d466823384b408959462183cc46 (patch)
treed4804ebdfafdaa0c62a71038827980ed90639d24
parent42e0c09a856c9d55a42d649c3dcb05b32e6b607b (diff)
Allow slashes in <dist>.
-rw-r--r--specs/spf-2.0/metadata.mdwn17
1 files changed, 9 insertions, 8 deletions
diff --git a/specs/spf-2.0/metadata.mdwn b/specs/spf-2.0/metadata.mdwn
index 90e88fa..369e379 100644
--- a/specs/spf-2.0/metadata.mdwn
+++ b/specs/spf-2.0/metadata.mdwn
@@ -126,11 +126,12 @@ expression for this is `[1-9][0-9]*`.)
If the package is to be installed into a distribution other than `trunk`, the
string `+<dist>~<distrev>` must be appended to the end of the version
identifier. `<dist>` is the distribution into which the package is to be
-installed, may only consist of lowercase Latin letters and digits, and must be
-at least one character long. (A regular expression for this is `[a-z0-9]+`.)
-`<distrev>` is a number that should be incremented on each upload to `<dist>`
-while `<pkgver>`, `<siprev>`, and `<pkgrev>` remain constant. It should be
-reset to `1` for the first upload to `<dist>` of a new upstream package version,
-source archive repack, or distribution packaging revision. It must be a string
-of one or more digits, the first of which must be greater than or equal to `1`.
-(A regular expression for this is `[1-9][0-9]*`.)
+installed; may only consist of lowercase Latin letters, digits, and slashes; and
+must be at least one character long. The first character may not be a slash.
+(A regular expression for this is `[a-z0-9][a-z0-9/]*`.) `<distrev>` is a
+number that should be incremented on each upload to `<dist>` while `<pkgver>`,
+`<siprev>`, and `<pkgrev>` remain constant. It should be reset to `1` for the
+first upload to `<dist>` of a new upstream package version, source archive
+repack, or distribution packaging revision. It must be a string of one or more
+digits, the first of which must be greater than or equal to `1`. (A regular
+expression for this is `[1-9][0-9]*`.)