Browse Source

man: Clarify implicit arch-qualifiers in Provides field

This corrects the wording to match the implementation. The change in
commit 0fec5cfcf2cc07ea7ac3a20855ecef276d6e34c4 missed the fact that
Provides was bundled with the fields that get :any as an implicit
arch-qualifier. Split the Provides field description as it's different
enough from the other group to merit being described separately.
Guillem Jover 11 years ago
parent
commit
93600b77be
1 changed files with 26 additions and 16 deletions
  1. 26 16
      man/deb-control.5

+ 26 - 16
man/deb-control.5

@@ -236,24 +236,12 @@ is usually used with the
 .B Conflicts
 .B Conflicts
 field to force removal of the other package, if this one also has the
 field to force removal of the other package, if this one also has the
 same files as the conflicted package.
 same files as the conflicted package.
-.TP
-.BI Provides: " package-list"
-This is a list of virtual packages that this one provides. Usually this is
-used in the case of several packages all providing the same service.
-For example, sendmail and exim can serve as a mail server, so they
-provide a common package (\(lqmail\-transport\-agent\(rq) on which other
-packages can depend.
-This will allow sendmail or exim to serve as a valid option
-to satisfy the dependency. This prevents the packages that depend on a mail
-server from having to know the package names for all of them, and using
-\(oq\fB|\fP\(cq to separate the list.
 .LP
 .LP
 The syntax of
 The syntax of
 .BR Breaks ,
 .BR Breaks ,
-.BR Conflicts ,
-.B Replaces
+.B Conflicts
 and
 and
-.B Provides
+.B Replaces
 is a list of package names, separated by commas (and optional whitespace).
 is a list of package names, separated by commas (and optional whitespace).
 In the
 In the
 .B Breaks
 .B Breaks
@@ -268,8 +256,30 @@ An optional version can also be given with the same syntax as above for the
 .B Conflicts
 .B Conflicts
 and
 and
 .B Replaces
 .B Replaces
-fields, and an optional exact (equal to) version can also be given with the
-same syntax as above for the \fBProvides\fP field (since dpkg 1.17.11).
+fields.
+.
+.TP
+.BI Provides: " package-list"
+This is a list of virtual packages that this one provides.
+Usually this is used in the case of several packages all providing the
+same service.
+For example, sendmail and exim can serve as a mail server, so they
+provide a common package (\(lqmail\-transport\-agent\(rq) on which
+other packages can depend.
+This will allow sendmail or exim to serve as a valid option to satisfy
+the dependency.
+This prevents the packages that depend on a mail server from having to
+know the package names for all of them, and using \(oq\fB|\fP\(cq to
+separate the list.
+.LP
+The syntax of
+.B Provides
+is a list of package names, separated by commas (and optional whitespace).
+An optional architecture qualifier can also be appended to the package
+name with the same syntax as above.
+If omitted, the default is the current binary package architecture.
+An optional exact (equal to) version can also be given with the same
+syntax as above (honored since dpkg 1.17.11).
 .
 .
 .TP
 .TP
 .BI Built\-Using: " package-list"
 .BI Built\-Using: " package-list"