rpmlint icon indicating copy to clipboard operation
rpmlint copied to clipboard

Do not consider files-duplicate for SMALL files

Open socketpair opened this issue 2 years ago • 2 comments

In Python RPMS:

$ xxd usr/lib/python3.10/site-packages/pyrad-2.4-py3.10.egg-info/zip-safe
00000000: 0a                                       .
$ xxd usr/lib/python3.10/site-packages/pyrad-2.4-py3.10.egg-info/dependency_links.txt
00000000: 0a

These two files both contain just one empty newline. It's not a bug to have two such files.

socketpair avatar Mar 24 '22 13:03 socketpair

That seems reasonable to me. We can add a config value where one can define a minimum file size that should be reported as files-duplicate.

marxin avatar Mar 24 '22 13:03 marxin

OK. And set it to some value in order to fix example in the first message.

socketpair avatar Mar 24 '22 14:03 socketpair