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

[Git][lintian/lintian][master] Fix override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS with debhelper-compat (>= 13)



Title: GitLab

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

Commits:

  • bb227120
    by William Desportes at 2025-08-26T02:32:04+00:00
    Fix override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS with debhelper-compat (>= 13)
    
    Closes: #950455, #1111506
    

9 changed files:

Changes:

  • lib/Lintian/Check/Debian/Rules.pm
    ... ... @@ -617,7 +617,8 @@ sub source {
    617 617
             }
    
    618 618
         }
    
    619 619
     
    
    620
    -    if (my $memorized_position = $overridden{'dh_auto_test'}) {
    
    620
    +    if (my $memorized_position = $overridden{'dh_auto_test'}
    
    621
    +        and ! $build_regular->satisfies('debhelper-compat (>= 13)')) {
    
    621 622
     
    
    622 623
             my @rules = grep {
    
    623 624
                 !m{^\t\s*[\:\[]}
    

  • t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-dh-12/build-spec/debian/control.in
    1
    +Source: [% $source %]
    
    2
    +Priority: optional
    
    3
    +Section: [% $section %]
    
    4
    +Maintainer: [% $author %]
    
    5
    +Standards-Version: [% $standards_version %]
    
    6
    +Build-Depends: [% $build_depends %], phpab, phpunit, pkg-php-tools
    
    7
    +Rules-Requires-Root: no
    
    8
    +Homepage: https://lintian.debian.org/
    
    9
    +
    
    10
    +Package: [% $source %]
    
    11
    +Architecture: [% $package_architecture %]
    
    12
    +Depends: ${misc:Depends}, ${phpcomposer:Debian-require}
    
    13
    +Recommends: ${phpcomposer:Debian-recommend}
    
    14
    +Suggests: ${phpcomposer:Debian-suggest}
    
    15
    +Description: [% $description %]
    
    16
    + This is a test package designed to exercise some feature or tag of
    
    17
    + Lintian.  It is part of the Lintian test suite and may do very odd
    
    18
    + things.  It should not be installed like a regular package.  It may
    
    19
    + be an empty package.

  • t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/build-spec/debian/rulest/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-dh-12/build-spec/debian/rules

  • t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-dh-12/build-spec/fill-values
    1
    +Skeleton: upload-native
    
    2
    +Testname: rules-dh-auto-test-does-not-check-deb-build-options-dh-12
    
    3
    +Description: Test for missing checks for DEB_BUILD_PROFILES using DH12
    
    4
    +Dh-Compat-Level: 12

  • t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-dh-12/eval/desc
    1
    +Testname: rules-dh-auto-test-does-not-check-deb-build-options-dh-12
    
    2
    +Check: debian/rules

  • t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-dh-12/eval/hints
    1
    +rules-dh-auto-test-does-not-check-deb-build-options-dh-12 (source): override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS [debian/rules:6]

  • t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/build-spec/fill-values deleted
    1
    -Skeleton: upload-native
    
    2
    -Testname: rules-dh-auto-test-does-not-check-deb-build-options
    
    3
    -Description: Test for missing checks for DEB_BUILD_PROFILES

  • t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/eval/desc deleted
    1
    -Testname: rules-dh-auto-test-does-not-check-deb-build-options
    
    2
    -Check: debian/rules

  • t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/eval/hints deleted
    1
    -rules-dh-auto-test-does-not-check-deb-build-options (source): override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS [debian/rules:6]


  • Reply to: