summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debian/rules/rules-general/build-spec
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/debian/rules/rules-general/build-spec')
-rw-r--r--t/recipes/checks/debian/rules/rules-general/build-spec/debian/compat.in1
-rw-r--r--t/recipes/checks/debian/rules/rules-general/build-spec/debian/control.in16
-rwxr-xr-xt/recipes/checks/debian/rules/rules-general/build-spec/debian/rules23
-rw-r--r--t/recipes/checks/debian/rules/rules-general/build-spec/fill-values5
4 files changed, 45 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/rules/rules-general/build-spec/debian/compat.in b/t/recipes/checks/debian/rules/rules-general/build-spec/debian/compat.in
new file mode 100644
index 0000000..640a566
--- /dev/null
+++ b/t/recipes/checks/debian/rules/rules-general/build-spec/debian/compat.in
@@ -0,0 +1 @@
+[% $dh_compat_level %]
diff --git a/t/recipes/checks/debian/rules/rules-general/build-spec/debian/control.in b/t/recipes/checks/debian/rules/rules-general/build-spec/debian/control.in
new file mode 100644
index 0000000..4b34442
--- /dev/null
+++ b/t/recipes/checks/debian/rules/rules-general/build-spec/debian/control.in
@@ -0,0 +1,16 @@
+Source: [% $source %]
+Priority: optional
+Section: [% $section %]
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends-Indep: [% $build_depends %], python
+Rules-Requires-Root: no
+
+Package: [% $source %]
+Architecture: [% $package_architecture %]
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: [% $description %]
+ This is a test package designed to exercise some feature or tag of
+ Lintian. It is part of the Lintian test suite and may do very odd
+ things. It should not be installed like a regular package. It may
+ be an empty package.
diff --git a/t/recipes/checks/debian/rules/rules-general/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-general/build-spec/debian/rules
new file mode 100755
index 0000000..e1f72bf
--- /dev/null
+++ b/t/recipes/checks/debian/rules/rules-general/build-spec/debian/rules
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
+
+DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes
+DH_EXTRA_ADDONS = systemd
+
+%:
+ dh $@
+
+clean:
+ dh_clean
+ echo $(DEB_BUILD_OPTS) $(PWD)
+ @echo $(_)
+
+# dh_make generated override targets
+# This is example for Cmake (See https://bugs.debian.org/641051 )
+#override_dh_auto_configure:
+# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
+
+override_dh_shlibdeps:
+ dh_shlibdeps -V "liblintian0 (>= 0.0.1)"
diff --git a/t/recipes/checks/debian/rules/rules-general/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-general/build-spec/fill-values
new file mode 100644
index 0000000..f3cc7ce
--- /dev/null
+++ b/t/recipes/checks/debian/rules/rules-general/build-spec/fill-values
@@ -0,0 +1,5 @@
+Skeleton: upload-native
+Testname: rules-general
+Package-Architecture: all
+Description: Test various debian/rules checks
+Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~)