From: Russ Allbery Date: Fri, 7 Aug 2009 22:04:09 +0000 (-0700) Subject: Unify the syntax description for package names X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b77ed5d17ca2ed8f7b0234710fb5b1e0c70fb1ad;p=debian%2Fdebian-policy.git Unify the syntax description for package names In the Package field description, reference the syntax for source package names in the Source field description rather than repeating it. Add a cross-reference to Package in the Source field description. Reported by Jonathan Yu. --- diff --git a/policy.sgml b/policy.sgml index 1eb6977..ffc721f 100644 --- a/policy.sgml +++ b/policy.sgml @@ -2605,11 +2605,12 @@ Package: libc6

- Package names must consist only of lower case letters - (a-z), digits (0-9), plus (+) - and minus (-) signs, and periods (.). - They must be at least two characters long and must start - with an alphanumeric character. + Package names (both source and binary, + see ) must consist only of lower case + letters (a-z), digits (0-9), plus + (+) and minus (-) signs, and periods + (.). They must be at least two characters long and + must start with an alphanumeric character.

@@ -2708,11 +2709,9 @@ Package: libc6

- Package names must consist only of lower case letters - (a-z), digits (0-9), plus (+) - and minus (-) signs, and periods (.). - They must be at least two characters long and must start - with an alphanumeric character. + Binary package names must follow the same syntax and + restrictions as source package names. See + for the details.