summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/files/contents/contains-build-path
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/files/contents/contains-build-path
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/files/contents/contains-build-path')
-rw-r--r--t/recipes/checks/files/contents/contains-build-path/build-spec/debian/docs1
-rwxr-xr-xt/recipes/checks/files/contents/contains-build-path/build-spec/debian/rules15
-rw-r--r--t/recipes/checks/files/contents/contains-build-path/build-spec/fill-values4
-rw-r--r--t/recipes/checks/files/contents/contains-build-path/build-spec/orig/Makefile2
-rw-r--r--t/recipes/checks/files/contents/contains-build-path/eval/desc2
-rw-r--r--t/recipes/checks/files/contents/contains-build-path/eval/hints1
6 files changed, 25 insertions, 0 deletions
diff --git a/t/recipes/checks/files/contents/contains-build-path/build-spec/debian/docs b/t/recipes/checks/files/contents/contains-build-path/build-spec/debian/docs
new file mode 100644
index 0000000..ef624d3
--- /dev/null
+++ b/t/recipes/checks/files/contents/contains-build-path/build-spec/debian/docs
@@ -0,0 +1 @@
+build-path
diff --git a/t/recipes/checks/files/contents/contains-build-path/build-spec/debian/rules b/t/recipes/checks/files/contents/contains-build-path/build-spec/debian/rules
new file mode 100755
index 0000000..1a1253b
--- /dev/null
+++ b/t/recipes/checks/files/contents/contains-build-path/build-spec/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
+tmp := $(CURDIR)/debian/$(shell dh_listpackages)
+
+%:
+ 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
diff --git a/t/recipes/checks/files/contents/contains-build-path/build-spec/fill-values b/t/recipes/checks/files/contents/contains-build-path/build-spec/fill-values
new file mode 100644
index 0000000..b3d6600
--- /dev/null
+++ b/t/recipes/checks/files/contents/contains-build-path/build-spec/fill-values
@@ -0,0 +1,4 @@
+Testname: contains-build-path
+Skeleton: upload-native
+Description: Test for upload containing build path
+Build-Command: make --trace -f [% $source_path %]/Makefile DEFAULT_DH_COMPAT=[% $dh_compat_level %] DEB_BUILD_OPTIONS='buildinfo=+path'
diff --git a/t/recipes/checks/files/contents/contains-build-path/build-spec/orig/Makefile b/t/recipes/checks/files/contents/contains-build-path/build-spec/orig/Makefile
new file mode 100644
index 0000000..d41bfb4
--- /dev/null
+++ b/t/recipes/checks/files/contents/contains-build-path/build-spec/orig/Makefile
@@ -0,0 +1,2 @@
+all:
+ echo $(shell pwd) > build-path
diff --git a/t/recipes/checks/files/contents/contains-build-path/eval/desc b/t/recipes/checks/files/contents/contains-build-path/eval/desc
new file mode 100644
index 0000000..a9d8759
--- /dev/null
+++ b/t/recipes/checks/files/contents/contains-build-path/eval/desc
@@ -0,0 +1,2 @@
+Testname: contains-build-path
+Check: files/contents
diff --git a/t/recipes/checks/files/contents/contains-build-path/eval/hints b/t/recipes/checks/files/contents/contains-build-path/eval/hints
new file mode 100644
index 0000000..40c49db
--- /dev/null
+++ b/t/recipes/checks/files/contents/contains-build-path/eval/hints
@@ -0,0 +1 @@
+contains-build-path (binary): file-references-package-build-path [usr/share/doc/contains-build-path/build-path]