]> git.donarmstrong.com Git - debian/debian-policy.git/commitdiff
Unify the syntax description for package names
authorRuss Allbery <rra@debian.org>
Fri, 7 Aug 2009 22:04:09 +0000 (15:04 -0700)
committerRuss Allbery <rra@debian.org>
Fri, 7 Aug 2009 22:04:09 +0000 (15:04 -0700)
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.

policy.sgml

index 1eb6977cc89bcdb809182b28dc8847ad3624290b..ffc721f86d0640a1b66ac35f7676b13a341bf421 100644 (file)
@@ -2605,11 +2605,12 @@ Package: libc6
          </p>
 
          <p>
-           Package names must consist only of lower case letters
-           (<tt>a-z</tt>), digits (<tt>0-9</tt>), plus (<tt>+</tt>)
-           and minus (<tt>-</tt>) signs, and periods (<tt>.</tt>).
-           They must be at least two characters long and must start
-           with an alphanumeric character.
+           Package names (both source and binary,
+           see <ref id="f-Package">) must consist only of lower case
+           letters (<tt>a-z</tt>), digits (<tt>0-9</tt>), plus
+           (<tt>+</tt>) and minus (<tt>-</tt>) signs, and periods
+           (<tt>.</tt>).  They must be at least two characters long and
+           must start with an alphanumeric character.
          </p>
        </sect1>
 
@@ -2708,11 +2709,9 @@ Package: libc6
          </p>
 
          <p>
-           Package names must consist only of lower case letters
-           (<tt>a-z</tt>), digits (<tt>0-9</tt>), plus (<tt>+</tt>)
-           and minus (<tt>-</tt>) signs, and periods (<tt>.</tt>).
-           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 <ref id="f-Source">
+           for the details.
          </p>
        </sect1>