summaryrefslogtreecommitdiffstats
path: root/specs/spf-2.0/metadata.mdwn
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-08-26 18:01:44 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-08-26 18:01:44 (EDT)
commite8010f4611a7e0eeb36cc156a0fb62a1e915ba96 (patch)
treed89f90baaaaaf70c1dec23e2dfcfa3a56771dde9 /specs/spf-2.0/metadata.mdwn
parentc2df77fb4f53916119197d681374a2ca039a0e24 (diff)
Document package name requirements in one section.
Diffstat (limited to 'specs/spf-2.0/metadata.mdwn')
-rw-r--r--specs/spf-2.0/metadata.mdwn34
1 files changed, 30 insertions, 4 deletions
diff --git a/specs/spf-2.0/metadata.mdwn b/specs/spf-2.0/metadata.mdwn
index 67f99be..5125596 100644
--- a/specs/spf-2.0/metadata.mdwn
+++ b/specs/spf-2.0/metadata.mdwn
@@ -21,10 +21,8 @@ format:
[zero or more blank lines]
-- maintainer date
-`package` is the source package name. Source package names may only consist of
-lowercase Latin letters, digits, plus and minus signs, and periods. Names must
-be at least two characters long and must start with either a letter or a digit.
-(A regular expression for this is `[a-z0-9][a-z0-9+.-]+`.)
+`package` is the source package name. See $[sectlink][src-name] for the
+requirements on source package names.
`version` is the source package version. See $[sectlink][src-ver] for the
syntax of source package version identifiers.
@@ -90,6 +88,34 @@ building work area. For a file used at run time, it is an absolute path in the
user's filesystem hierarchy.
+Package Names [name]
+====================
+
+Source Packages [src-name]
+--------------------------
+
+Source package names may only consist of lowercase Latin letters, digits, plus
+and minus signs, and periods. Names must be at least two characters long and
+must start with either a letter or a digit. (A regular expression for this is
+`[a-z0-9][a-z0-9+.-]+`.)
+
+Source package names may not begin with the reserved string "src-".
+
+Binary Package Names [bin-name]
+-------------------------------
+
+Binary package names may only consist of lowercase Latin letters, digits, plus
+and minus signs, and periods. Names must be at least two characters long and
+must start with either a letter or a digit. (A regular expression for this is
+`[a-z0-9][a-z0-9+.-]+`.)
+
+Binary package names may not begin with the reserved string "src-".
+
+A binary package clean name is a binary package name with all plus and minus
+signs and periods removed. No two binary packages built from the same source
+package may have the same clean name.
+
+
Source Package Version Identifier [src-ver]
===========================================