Axel Beckert pushed to branch master at lintian / lintian


Commits:
79d146ac by Emilio Pozuelo Monfort at 2024-02-05T00:56:05+00:00
Don't emit source-nmu-has-incorrect-version-number for stable updates

Closes: #1022759

- - - - -


1 changed file:

- lib/Lintian/Check/Nmu.pm


Changes:

=====================================
lib/Lintian/Check/Nmu.pm
=====================================
@@ -102,6 +102,7 @@ sub source {
     my $version_nmuness = 0;
     my $version_local = 0;
     my $upload_is_backport = $version =~ m/~bpo(\d+)\+(\d+)$/;
+    my $upload_is_stable_update = $version =~ m/~deb(\d+)u(\d+)$/;
 
     if ($version =~ /-[^.-]+(\.[^.-]+)?(\.[^.-]+)?$/) {
         $version_nmuness = 1 if defined $1;
@@ -158,6 +159,7 @@ sub source {
                 $pointer, $version)
               if $upload_is_nmu
               && $version_nmuness != 1
+              && !$upload_is_stable_update
               && !$upload_is_backport;
         }
 



View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/79d146acb7b4784cea4e7cd705de9f9854e98bd6

-- 
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/79d146acb7b4784cea4e7cd705de9f9854e98bd6
You're receiving this email because of your account on salsa.debian.org.


Reply via email to