From: Russ Allbery Date: Fri, 30 Nov 2007 03:43:56 +0000 (+0000) Subject: Source in .changes may contain a version number X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=0741ea44e0744dc6539f5e10a24bd35e6739caa7;p=debian%2Fdebian-policy.git Source in .changes may contain a version number Per recent mail from Guillem Jover, the version number is also added to the Source field of .changes files for binNMUs. This change was made in dpkg 1.13.22 and is therefore currently in stable. dak also now supports it. git-archimport-id: rra@debian.org--lenny/debian-policy--devel--3.7--patch-12 --- diff --git a/debian/changelog b/debian/changelog index 667ad66..674d43b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -21,6 +21,8 @@ debian-policy (3.7.3.0) UNRELEASED; urgency=low virtual packages. * Bug fix: "Small spelling errors and erratic sentences in debian-policy", thanks to Michiel de Boer. (Closes: #435207). + * Bug fix: "Source field of .changes files may contain a version number" + (Closes: #431813). -- diff --git a/policy.sgml b/policy.sgml index 46ae4eb..36a2997 100644 --- a/policy.sgml +++ b/policy.sgml @@ -2336,14 +2336,14 @@ Package: libc6

- In a main source control information, a .changes - or a .dsc file this may contain only the name - of the source package. + In debian/control or a .dsc file, + this field must contain only the name of the source package.

- In the control file of a binary package it may be followed - by a version number in parentheses + In a binary package control file or a .changes + file, the source package name may be followed by a version + number in parentheses It is customary to leave a space after the package name if a version number is specified. . diff --git a/upgrading-checklist.html b/upgrading-checklist.html index f3bf0af..d3607c0 100644 --- a/upgrading-checklist.html +++ b/upgrading-checklist.html @@ -66,6 +66,8 @@ picking your way through this list. menu structure. Packages with menu entries should be reviewed to see if the menu section has been renamed or if one of the new sections would be more appropriate. [menu policy] + * The Source field in a .changes file may contain a version number + in parentheses. [5.6.1] 3.7.2.2 Oct 2006 * Maintainer scripts must not be world writeable (up from a should to a must) [6.1]