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-deprecated | |
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-deprecated')
5 files changed, 62 insertions, 0 deletions
diff --git a/t/recipes/checks/debhelper/debhelper-deprecated/build-spec/debian/compat.in b/t/recipes/checks/debhelper/debhelper-deprecated/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-deprecated/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debhelper/debhelper-deprecated/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-deprecated/build-spec/debian/rules new file mode 100755 index 0000000..2f7c75e --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-deprecated/build-spec/debian/rules @@ -0,0 +1,48 @@ +#!/usr/bin/make -f + +pkg = $(shell dh_listpackages) +VERSION=2 + +build: build-indep build-arch +build-arch: +build-indep: + +clean: + dh_testdir + dh_testroot + dh_clean + +binary: binary-indep binary-arch +binary-arch: +binary-indep: + dh_testdir + dh_testroot + dh_prep + dh_install + dh_installchangelogs + dh_installdocs + dh_installmanpages + + #dh_scrollkeeper + -dh_python-ply # neither should this + +# Check not warning about deprecated commands in optional portions, but +# commands that have been toast for a long time are still warned about. +ifneq "$(LENNY_BACKPORT)" "y" + -dh_help + #dh_scrollkeeper +endif + dh_link + dh_compress + dh_fixperms + #dh_suidregister + + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +somewhere: + dh $@ --with autotools-dev + +.PHONY: build-arch build-indep build binary binary-arch binary-indep clean diff --git a/t/recipes/checks/debhelper/debhelper-deprecated/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-deprecated/build-spec/fill-values new file mode 100644 index 0000000..7cb64f8 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-deprecated/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: debhelper-deprecated +Description: Test for use of deprecated dh_* commands +Extra-Build-Depends: python-ply (>= 3.4-1~) +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/debhelper/debhelper-deprecated/eval/desc b/t/recipes/checks/debhelper/debhelper-deprecated/eval/desc new file mode 100644 index 0000000..c51b571 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-deprecated/eval/desc @@ -0,0 +1,2 @@ +Testname: debhelper-deprecated +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-deprecated/eval/hints b/t/recipes/checks/debhelper/debhelper-deprecated/eval/hints new file mode 100644 index 0000000..15c9729 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-deprecated/eval/hints @@ -0,0 +1,6 @@ +debhelper-deprecated (source): uses-debhelper-compat-file [debian/compat] +debhelper-deprecated (source): missing-build-dependency-for-dh-addon autotools_dev (does not satisfy autotools-dev:any) [debian/rules] +debhelper-deprecated (source): dh_installmanpages-is-obsolete [debian/rules:24] +debhelper-deprecated (source): debian-build-system dh [debian/rules] +debhelper-deprecated (source): debhelper-tools-from-autotools-dev-are-deprecated dh ... --with autotools-dev [debian/rules:46] +debhelper-deprecated (source): debhelper-compat-level 13 |