From e8010f4611a7e0eeb36cc156a0fb62a1e915ba96 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 26 Aug 2012 18:01:44 -0400 Subject: Document package name requirements in one section. --- (limited to 'specs/spf-2.0/metadata.mdwn') 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] =========================================== -- cgit v0.9.1