Axel Beckert pushed to branch master at lintian / lintian
Commits:
b2561ac7 by Mattias Ellert at 2024-05-06T00:04:04+00:00
Fix regex replacement for transition suffix g
The replacement should remove a final g after a digit, but leave the
digit in place, e.g. libpam0g → libpam0 and libgjs0g → libgjs0.
- - - - -
a4c658ff by Mattias Ellert at 2024-05-06T00:04:04+00:00
Only remove transition suffices when preceded by a digit
- - - - -
07167eeb by Mattias Ellert at 2024-05-06T00:04:04+00:00
Add transition suffix t64 for 64 bit time_t transition
- - - - -
1 changed file:
- lib/Lintian/Check/Libraries/Shared/Soname.pm
Changes:
=====================================
lib/Lintian/Check/Libraries/Shared/Soname.pm
=====================================
@@ -83,11 +83,12 @@ sub installable {
# try to strip transition strings
my $shortened_name = $self->processable->name;
- $shortened_name =~ s/c102\b//;
- $shortened_name =~ s/c2a?\b//;
- $shortened_name =~ s/\dg$//;
- $shortened_name =~ s/gf$//;
- $shortened_name =~ s/v[5-6]$//; # GCC-5 / libstdc++6 C11 ABI breakage
+ $shortened_name =~ s/(\d)c102$/$1/;
+ $shortened_name =~ s/(\d)c2a?$/$1/;
+ $shortened_name =~ s/(\d)g$/$1/;
+ $shortened_name =~ s/(\d)gf$/$1/;
+ $shortened_name =~ s/(\d)v[56]$/$1/; # GCC-5 / libstdc++6 C11 ABI breakage
+ $shortened_name =~ s/(\d)t64$/$1/; # 64 bit time_t
$shortened_name =~ s/-udeb$//;
$shortened_name =~ s/^lib64/lib/;
View it on GitLab:
https://salsa.debian.org/lintian/lintian/-/compare/dfc03ef87409473bc76e287fa2fd25b388f2e214...07167eebb697d74d84627b275d8aeff4ebf32f7e
--
View it on GitLab:
https://salsa.debian.org/lintian/lintian/-/compare/dfc03ef87409473bc76e287fa2fd25b388f2e214...07167eebb697d74d84627b275d8aeff4ebf32f7e
You're receiving this email because of your account on salsa.debian.org.