On 13/04/2025 10:09, Otto Kekäläinen wrote:
This licenses themselves clearly state "MIT". Why is the tool
detecting them as Expat?
Seems like a false positive to me.
The workaround suggested in
https://manpages.debian.org/unstable/licenserecon/lrc.1.en.html is to
skip these files using debian/lrc.config but if they ever change, the
tool wouldn't detect anything. I'd rather just "override" this
MIT->Expat detection as a false finding without skipping those files
permanently.
What do you think about this situation?
Hi Otto,
please see
https://dep-team.pages.debian.net/deps/dep5/
towards the bottom it says
"There are many versions of the MIT license. Please use Expat instead,
when it matches."
Licensecheck is correctly reporting the license as Expat according to Dep5.
The solution is to use Expat in the copyright file. Changes would then
be detected.
Or, if you use --spdx mode, licensecheck would report the license as MIT.
Regards,
Peter