[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][lintian/lintian][master] source-nmu-has-incorrect-version-number: Fix false positive for +deb*u* versions



Title: GitLab

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:

Changes:

  • lib/Lintian/Check/Nmu.pm
    ... ... @@ -102,7 +102,7 @@ sub source {
    102 102
         my $version_nmuness = 0;
    
    103 103
         my $version_local = 0;
    
    104 104
         my $upload_is_backport = $version =~ m/~bpo(\d+)\+(\d+)$/;
    
    105
    -    my $upload_is_stable_update = $version =~ m/~deb(\d+)u(\d+)$/;
    
    105
    +    my $upload_is_stable_update = $version =~ m/[~|\+]deb(\d+)u(\d+)$/;
    
    106 106
     
    
    107 107
         if ($version =~ /-[^.-]+(\.[^.-]+)?(\.[^.-]+)?$/) {
    
    108 108
             $version_nmuness = 1 if defined $1;
    


  • Reply to: