Explorar o código

deb-shlibs(5): <dependencies> use same syntax than Depends

Document that the "dependencies" field within a shlibs file must use
the same syntax than a "Depends" field in a binary control file.

Reported-by: Niels Thykier <niels@thykier.net>
Closes: #658696
Raphaël Hertzog %!s(int64=14) %!d(string=hai) anos
pai
achega
62fba73693
Modificáronse 2 ficheiros con 7 adicións e 2 borrados
  1. 2 0
      debian/changelog
  2. 5 2
      man/deb-shlibs.5

+ 2 - 0
debian/changelog

@@ -92,6 +92,8 @@ dpkg (1.16.2) UNRELEASED; urgency=low
   * Update dpkg-buildpackage to use the "build-arch" (for -B) and
   * Update dpkg-buildpackage to use the "build-arch" (for -B) and
     "build-indep" (for -A) targets unless "make -qn" says that they do not
     "build-indep" (for -A) targets unless "make -qn" says that they do not
     exist. Closes: #229357
     exist. Closes: #229357
+  * Improve deb-shlibs(5) to mention that the dependency field must
+    use the same syntax than a Depends field. Closes: #658696
 
 
   [ Jonathan Nieder ]
   [ Jonathan Nieder ]
   * Bump po4a version in Build-Depends to 0.41, since earlier versions do
   * Bump po4a version in Build-Depends to 0.41, since earlier versions do

+ 5 - 2
man/deb-shlibs.5

@@ -16,7 +16,7 @@
 .\" You should have received a copy of the GNU General Public License
 .\" You should have received a copy of the GNU General Public License
 .\" along with this program.  If not, see <http://www.gnu.org/licenses/>.
 .\" along with this program.  If not, see <http://www.gnu.org/licenses/>.
 .
 .
-.TH deb\-shlibs 5 "2008-02-17" "Debian Project" "dpkg utilities"
+.TH deb\-shlibs 5 "2012-02-08" "Debian Project" "dpkg utilities"
 .SH NAME
 .SH NAME
 deb\-shlibs \- Debian shared library information file
 deb\-shlibs \- Debian shared library information file
 .
 .
@@ -39,7 +39,9 @@ The \fIlibrary\fP and \fIversion\fP fields are whitespace-delimited,
 but the \fIdependencies\fP field extends to the end of the line.  The
 but the \fIdependencies\fP field extends to the end of the line.  The
 \fItype\fP field is optional and normally not needed.
 \fItype\fP field is optional and normally not needed.
 .PP
 .PP
-See the Debian Policy Manual for further details.
+The \fIdependencies\fP field has the same syntax than the \fBDepends\fP
+field in a binary control file, see \fBdeb\-control\fP(5).
+See also the Debian Policy Manual for further details.
 .
 .
 .SH EXAMPLES
 .SH EXAMPLES
 .PP
 .PP
@@ -62,5 +64,6 @@ This is not the only reason the dependencies might need to be
 tightened; again, see the Debian Policy Manual for details.
 tightened; again, see the Debian Policy Manual for details.
 .
 .
 .SH SEE ALSO
 .SH SEE ALSO
+.BR deb\-control (5),
 .BR dpkg\-shlibdeps (1),
 .BR dpkg\-shlibdeps (1),
 .BR deb\-symbols (5).
 .BR deb\-symbols (5).