Nilesh Patra pushed to branch master at lintian / lintian
Commits:
b29c5d5b by Nilesh Patra at 2026-06-13T19:50:35+05:30
Do not emit `incomplete-creative-commons-license` when the text refers to
`/usr/share/common-licenses` as CC licenses have been added to base-files (See
#1139561 and #1136090)
- - - - -
1 changed file:
- lib/Lintian/Check/Debian/Copyright/Dep5.pm
Changes:
=====================================
lib/Lintian/Check/Debian/Copyright/Dep5.pm
=====================================
@@ -344,7 +344,9 @@ sub check_dep5_copyright {
push(@{$found_standalone{$license_identifier}}, $section);
}
- if ($license_identifier =~ /^cc-/ && length $license_text) {
+ if ($license_identifier =~ /^cc-/
+ && length $license_text
+ && $license_text !~ m{usr/share/common-licenses/CC-}) {
my $num_lines = $license_text =~ tr/\n//;
View it on GitLab:
https://salsa.debian.org/lintian/lintian/-/commit/b29c5d5bf00f64db39837438b5e1be0de07d5535
--
View it on GitLab:
https://salsa.debian.org/lintian/lintian/-/commit/b29c5d5bf00f64db39837438b5e1be0de07d5535
You're receiving this email because of your account on salsa.debian.org. Manage
all notifications: https://salsa.debian.org/-/profile/notifications | Help:
https://salsa.debian.org/help