Bläddra i källkod

man: Clarify role of Build-Depends in deb-src-control(5)

Make it clearer when does the field apply, and what is it equivalent to.

Prompted-by: Johannes Schauer <j.schauer@email.de>
Guillem Jover 10 år sedan
förälder
incheckning
31257982ef
2 ändrade filer med 10 tillägg och 5 borttagningar
  1. 2 0
      debian/changelog
  2. 8 5
      man/deb-src-control.5

+ 2 - 0
debian/changelog

@@ -27,6 +27,8 @@ dpkg (1.18.4) UNRELEASED; urgency=low
     - Clarify that the md5sum check on «dpkg --verify» is performed on the
       file contents, and failures denote changed content. Closes: #760248
     - Document that dpkg-buildpacakge -nc -S implies -d.
+    - Clarify role of Build-Depends in deb-src-control(5).
+      Prompted by Johannes Schauer <j.schauer@email.de>.
 
   [ Updated programs translations ]
   * Dutch (Frans Spiesschaert). Closes: #800513

+ 8 - 5
man/deb-src-control.5

@@ -139,11 +139,14 @@ package.
 .TP
 .BI Build\-Depends: " package-list"
 A list of packages that need to be installed and configured to be able
-to build the source package. Including a dependency in this list has
-the same effect as including it in both \fBBuild\-Depends\-Arch\fP and
-\fBBuild\-Depends\-Indep\fP, with the additional effect of being used
-for source-only builds.
-
+to build from source package.
+These dependencies need to be satisfied when building binary architecture
+dependent or independent packages and source packages.
+Including a dependency in this field does not have the exact same effect as
+including it in both \fBBuild\-Depends\-Arch\fP and \fBBuild\-Depends\-Indep\fP,
+because the dependency also needs to be satisfied when building the source
+package.
+.
 .TP
 .BI Build\-Depends\-Arch: " package-list"
 Same as \fBBuild\-Depends\fP, but they are only needed when building the