Louis-Philippe Véronneau pushed to branch master at lintian / lintian
Commits:
-
bb227120
by William Desportes at 2025-08-26T02:32:04+00:00
9 changed files:
- lib/Lintian/Check/Debian/Rules.pm
- + t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-dh-12/build-spec/debian/control.in
- t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/build-spec/debian/rules → t/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
- + t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-dh-12/eval/desc
- + t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-dh-12/eval/hints
- − t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/build-spec/fill-values
- − t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/eval/desc
- − t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options/eval/hints
Changes:
... | ... | @@ -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*[\:\[]}
|
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. |
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 |
1 | +Testname: rules-dh-auto-test-does-not-check-deb-build-options-dh-12
|
|
2 | +Check: debian/rules |
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] |
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 |
1 | -Testname: rules-dh-auto-test-does-not-check-deb-build-options
|
|
2 | -Check: debian/rules |
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] |