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/debian/trailing-whitespace/rules-without-newline-at-end | |
parent | Initial commit. (diff) | |
download | lintian-upstream.tar.xz lintian-upstream.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/debian/trailing-whitespace/rules-without-newline-at-end')
4 files changed, 19 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/build-spec/debian/rules b/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/build-spec/debian/rules new file mode 100755 index 0000000..9a82cb7 --- /dev/null +++ b/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/build-spec/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +# In Ubuntu, dh does not catch this file by default. +# They have diffed it to reduce the size of packages. +ifneq (,$(strip $(wildcard Changes))) +override_dh_installchangelogs: + dh_installchangelogs Changes +endif
\ No newline at end of file diff --git a/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/build-spec/fill-values b/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/build-spec/fill-values new file mode 100644 index 0000000..90cfaae --- /dev/null +++ b/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-without-newline-at-end +Description: d/rules lacking a newline at the end of file. diff --git a/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/eval/desc b/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/eval/desc new file mode 100644 index 0000000..232e02f --- /dev/null +++ b/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/eval/desc @@ -0,0 +1,2 @@ +Testname: rules-without-newline-at-end +Check: debian/trailing-whitespace diff --git a/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/eval/hints b/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/eval/hints new file mode 100644 index 0000000..d14a8d4 --- /dev/null +++ b/t/recipes/checks/debian/trailing-whitespace/rules-without-newline-at-end/eval/hints @@ -0,0 +1 @@ +rules-without-newline-at-end (source): no-newline-at-end [debian/rules] |