Bastien Roucariès pushed to branch master at lintian / lintian
Commits:
-
ea398eb4
by Bastien Roucariès at 2023-10-30T14:31:11+00:00
1 changed file:
Changes:
... | ... | @@ -50,9 +50,12 @@ sub always { |
50 | 50 | if $self->processable->fields->declares('Auto-Built-Package');
|
51 | 51 | |
52 | 52 | my $basename = basename($self->processable->path);
|
53 | + # remove salsaci suffix
|
|
54 | + my $nosalsabasename = $basename;
|
|
55 | + $nosalsabasename =~ s/[+]salsaci[+]\d+[+]\d+(_[[:alnum:]]+\.[[:alnum:]]+)$/$1/;
|
|
53 | 56 | |
54 | 57 | my $adjusted_length
|
55 | - = length($basename)
|
|
58 | + = length($nosalsabasename)
|
|
56 | 59 | - length($self->processable->architecture)
|
57 | 60 | + $LONGEST_ARCHITECTURE;
|
58 | 61 |