Louis-Philippe Véronneau pushed to branch master at lintian / lintian


Commits:
809dd16a by Adrian Bunk at 2024-09-29T05:59:55+00:00
source-nmu-has-incorrect-version-number: Fix false positive for +deb*u* versions

- - - - -


1 changed file:

- lib/Lintian/Check/Nmu.pm


Changes:

=====================================
lib/Lintian/Check/Nmu.pm
=====================================
@@ -102,7 +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+)$/;
+    my $upload_is_stable_update = $version =~ m/[~|\+]deb(\d+)u(\d+)$/;
 
     if ($version =~ /-[^.-]+(\.[^.-]+)?(\.[^.-]+)?$/) {
         $version_nmuness = 1 if defined $1;



View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/809dd16a279e43cc351c2831f6456f519cf3f810

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


Reply via email to