summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments
parentInitial commit. (diff)
downloadlintian-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-unnecessary-arguments')
-rwxr-xr-xt/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/build-spec/debian/rules4
-rw-r--r--t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/build-spec/fill-values4
-rw-r--r--t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/eval/desc2
-rw-r--r--t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/eval/hints6
4 files changed, 16 insertions, 0 deletions
diff --git a/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/build-spec/debian/rules
new file mode 100755
index 0000000..eab1d8e
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/build-spec/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --parallel --with=systemd
diff --git a/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/build-spec/fill-values
new file mode 100644
index 0000000..39d3387
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/build-spec/fill-values
@@ -0,0 +1,4 @@
+Skeleton: upload-native
+Testname: debhelper-dh-unnecessary-arguments
+Description: Check for packages using --parallel
+Dh-Compat-Level: 10
diff --git a/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/eval/desc b/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/eval/desc
new file mode 100644
index 0000000..45c7c4c
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/eval/desc
@@ -0,0 +1,2 @@
+Testname: debhelper-dh-unnecessary-arguments
+Check: debhelper
diff --git a/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/eval/hints b/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/eval/hints
new file mode 100644
index 0000000..c64d1f3
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-dh-unnecessary-arguments/eval/hints
@@ -0,0 +1,6 @@
+debhelper-dh-unnecessary-arguments (source): package-uses-old-debhelper-compat-version 10
+debhelper-dh-unnecessary-arguments (source): debian-rules-uses-unnecessary-dh-argument 10 >= 10 dh ... --with=systemd [debian/rules:4]
+debhelper-dh-unnecessary-arguments (source): debian-rules-uses-unnecessary-dh-argument 10 >= 10 dh ... --parallel [debian/rules:4]
+debhelper-dh-unnecessary-arguments (source): debian-build-system dh [debian/rules]
+debhelper-dh-unnecessary-arguments (source): debhelper-compat-virtual-relation 10 [debian/control]
+debhelper-dh-unnecessary-arguments (source): debhelper-compat-level 10