- Package:
- licenserecon
- Source:
- licenserecon
- Description:
- Reconcile licenses from debian/copyright against licensecheck
- Submitter:
- Julian Andres Klode
- Date:
- 2026-06-29 15:39:01 UTC
- Severity:
- normal
Wildcards like * and ? match / in the specification, yet the attached test case produces a mismatch: Expat | Apache-2.0 a/b/test.c
Hi Julian, licenserecon handles wildcards using /usr/bin/ls From your example: ls */*.c ls: cannot access '*/*.c': No such file or directory However; ls */*/*.c a/b/test.c ISTM that it's your test copyright that mishandles wildcards ;-) Cheers, Peter
On second thoughts, I realise you are correct here. DEP-5 spec says; ... "Both [wildcards] match slashes (/) and leading dots, unlike shell globs. The pattern *.in therefore matches any file whose name ends in .in anywhere in the source tree, not just at the top level." See also https://bugs.debian.org/1086136 With your example file Files: a/*.c would work with lrc as it stands. But if there are multiple asterisks in the Files: field lrc currently reverts to a shell glob. Are you having issues with a particular package that I could look at? Regards, Peter