summaryrefslogtreecommitdiffstats
path: root/specs
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-08 10:44:15 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-08 10:44:15 (EDT)
commit182aa5da4d83b20a55d9f740a9c10deddb2f972b (patch)
treeddd94c0a8faef1c7166a2d9c66cf9e2e318f2715 /specs
parent2a0e941436510d466823384b408959462183cc46 (diff)
Don't allow slashes in <dist>.
Slashes can't be used in version IDs because they aren't allowed in filenames in most/all filesystems.
Diffstat (limited to 'specs')
-rw-r--r--specs/spf-2.0/metadata.mdwn17
1 files changed, 8 insertions, 9 deletions
diff --git a/specs/spf-2.0/metadata.mdwn b/specs/spf-2.0/metadata.mdwn
index 369e379..90e88fa 100644
--- a/specs/spf-2.0/metadata.mdwn
+++ b/specs/spf-2.0/metadata.mdwn
@@ -126,12 +126,11 @@ 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, 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]*`.)
+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]*`.)