diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
commit | 75808db17caf8b960b351e3408e74142f4c85aac (patch) | |
tree | 7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/debhelper/debhelper-dh-compat | |
parent | Initial commit. (diff) | |
download | lintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip |
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/recipes/checks/debhelper/debhelper-dh-compat')
7 files changed, 27 insertions, 0 deletions
diff --git a/t/recipes/checks/debhelper/debhelper-dh-compat/build-spec/debian/compat.in b/t/recipes/checks/debhelper/debhelper-dh-compat/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-compat/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debhelper/debhelper-dh-compat/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-dh-compat/build-spec/debian/rules new file mode 100755 index 0000000..111f495 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-compat/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +export DH_COMPAT=10 + +%: + dh $@ + +DH_COMPAT=8 diff --git a/t/recipes/checks/debhelper/debhelper-dh-compat/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-dh-compat/build-spec/fill-values new file mode 100644 index 0000000..be50f28 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-compat/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: debhelper-dh-compat +Description: Test the value of DH_COMPAT +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debhelper/debhelper-dh-compat/eval/desc b/t/recipes/checks/debhelper/debhelper-dh-compat/eval/desc new file mode 100644 index 0000000..d974fa2 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-compat/eval/desc @@ -0,0 +1,4 @@ +Testname: debhelper-dh-compat +Profile: lintian-test +Options: --include-dir ./lintian-include-dir +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-dh-compat/eval/hints b/t/recipes/checks/debhelper/debhelper-dh-compat/eval/hints new file mode 100644 index 0000000..86e066e --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-compat/eval/hints @@ -0,0 +1,5 @@ +debhelper-dh-compat (source): uses-debhelper-compat-file [debian/compat] +debhelper-dh-compat (source): package-uses-old-debhelper-compat-version 8 +debhelper-dh-compat (source): declares-possibly-conflicting-debhelper-compat-versions 13 vs elsewhere 8 [debian/compat] +debhelper-dh-compat (source): debian-build-system dh [debian/rules] +debhelper-dh-compat (source): debhelper-compat-level 8 diff --git a/t/recipes/checks/debhelper/debhelper-dh-compat/eval/lintian-include-dir/profiles/lintian-test/main.profile b/t/recipes/checks/debhelper/debhelper-dh-compat/eval/lintian-include-dir/profiles/lintian-test/main.profile new file mode 100644 index 0000000..f0e27cf --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-compat/eval/lintian-include-dir/profiles/lintian-test/main.profile @@ -0,0 +1,2 @@ +Profile: lintian-test/main +Extends: debian/main diff --git a/t/recipes/checks/debhelper/debhelper-dh-compat/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level b/t/recipes/checks/debhelper/debhelper-dh-compat/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level new file mode 100644 index 0000000..d91eeb3 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-compat/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level @@ -0,0 +1,3 @@ +@include-parent +deprecated=1 +recommended=100 |