Chris Lamb:
> Hi,
> 
>> lintian: description of testsuite-autopkgtest-missing is
>> unhelpful/incorrect
> 
> I had a look at this earlier but in the code I can't seem to
> differentiate between:
> 
>   $info->field('testsuite')
> 
> … returning the value from the *dsc* and the value set in the
> debian/control file. :)
> 
> I think I need this to work out whether we have a pointless value
> set in debian/control and the one automatically added by dpkg (since
> 1.17.11, if anyone is curious).
> 
> 
> Regards,
> 

Hi,

Here goes. :)

On a L::Collect::Source:

 * $info->field        => .dsc
 * $info->source_field => d/control

There is usually an overlap as dpkg-source copies most fields from
d/control into the .dsc.

Related, there is also $source_info->binary_field vs.
$binary_info->field (i.e. L::Collect::Binary).  More or less same case,
except here you can also see unexpected substvars in the binary_field case.

Thanks,
~Niels

Reply via email to