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

Re: [lintian] 02/02: Check for packages shipping compiled Java class files. Thanks to Carnë Draug <carandraug+dev@gmail.com>. (Closes: #873211)



On Sun, Aug 27, 2017 at 08:06:52AM +0000, Chris Lamb wrote:
> --- a/checks/files.pm
> +++ b/checks/files.pm
> @@ -1163,6 +1163,11 @@ sub run {
>              tag 'package-contains-python-coverage-file', $file;
>          }
>  
> +        # ---------------- .coverage (coverage.py output)
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Should this have been something about class files? ;) (I bet a
copy/paste error :))
> +        if ($fname =~ m,\.class$,o) {
> +            tag 'package-installs-java-bytecode', $file;
> +        }
> +
>          # ---------------- /usr/lib/site-python
>          if ($fname =~ m,^usr/lib/site-python/\S,) {
>              tag 'file-in-usr-lib-site-python', $file;

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


Reply to: