[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#666726: debian-policy: Clarify if empty control fields are ollowed or not



On Sun, 23 Nov 2014, Bill Allombert wrote:
> Anyway, this is a second try.
> 
> Cheers,

> commit d450ce8f978bad0f3927ea055698b789055dfa3a
> Author: Bill Allombert <Bill.Allombert@math.u-bordeaux1.fr>
> Date:   Sun Nov 23 16:16:21 2014 +0100
> 
>     Document that empty field values are only allowed in debian/control.
> 
> diff --git a/policy.sgml b/policy.sgml
> index 6eac491..55b558f 100644
> --- a/policy.sgml
> +++ b/policy.sgml
> @@ -2556,13 +2556,15 @@ endif
>  	  <example compact="compact">
>  Package: libc6
>  	  </example>
>  	  the field name is <tt>Package</tt> and the field value
>  	  <tt>libc6</tt>.
>  	</p>
> -
> +        <p> Empty field values are only permitted in source package control files
> +	  (<file>debian/control</file>). Such fields are ignored.
> +        </p>
>  	<p>
>  	  A paragraph must not contain more than one instance of a
>  	  particular field name.
>  	</p>
>  
>  	<p>
> @@ -2699,12 +2701,13 @@ Package: libc6
>  	  <file>.dsc</file> source control file as part of a source
>  	  archive.  Some fields are folded in <file>debian/control</file>,
>  	  but not in any other control
>  	  file. These tools are responsible for removing the line
>  	  breaks from such fields when using fields from
>  	  <file>debian/control</file> to generate other control files.
> +	  They are also responsible for discarding empty fields.
>  	</p>
>  
>  	<p>
>  	  The fields here may contain variable references - their
>  	  values will be substituted by <prgn>dpkg-gencontrol</prgn>,
>  	  <prgn>dpkg-genchanges</prgn> or <prgn>dpkg-source</prgn>

Seconded.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

Attachment: signature.asc
Description: Digital signature


Reply to: