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

Re: [lintian] 01/01: Ignore Multi-Arch: foreign packages for development-package-ships-elf-binary-in-path.



Chris Lamb:
> --- a/checks/binaries.pm
> +++ b/checks/binaries.pm
> @@ -347,7 +347,8 @@ sub run {
>  
>          tag 'development-package-ships-elf-binary-in-path', $file
>            if exists($PATH_DIRECTORIES{$file->dirname})
> -          and $info->field('section', 'NONE') eq 'libdevel';
> +          and $info->field('section', 'NONE') eq 'libdevel'
> +          and $info->field('multi-arch', 'NONE') ne 'foreign';
>  
>          $objdump = $info->objdump_info->{$fname};
>  

Hi,

FYI, the section field can contain component AFAIR.  That is, you might
get "contrib/libdevel".

(I recognise that this is the not the commit that introduced that problem).

Thanks,
~Niels


Reply to: