summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/conffiles/instruction-chicken-soup/build-spec')
-rw-r--r--t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/conffiles1
-rw-r--r--t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/install1
-rwxr-xr-xt/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/rules10
-rw-r--r--t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/fill-values4
-rw-r--r--t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/orig/etc/some.config1
5 files changed, 17 insertions, 0 deletions
diff --git a/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/conffiles b/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/conffiles
new file mode 100644
index 0000000..6bac7c1
--- /dev/null
+++ b/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/conffiles
@@ -0,0 +1 @@
+chicken-soup /etc/some.config
diff --git a/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/install b/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/install
new file mode 100644
index 0000000..ee19d5d
--- /dev/null
+++ b/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/install
@@ -0,0 +1 @@
+etc
diff --git a/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/rules b/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/rules
new file mode 100755
index 0000000..9de9df4
--- /dev/null
+++ b/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+pkg=instruction-chicken-soup
+
+%:
+ dh $@
+
+override_dh_builddeb:
+ mkdir -p debian/$(pkg)/DEBIAN
+ cp debian/conffiles debian/$(pkg)/DEBIAN
+ dpkg-deb --nocheck --build debian/$(pkg) ../$(pkg)_1.0-1_all.deb
diff --git a/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/fill-values b/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/fill-values
new file mode 100644
index 0000000..98f4bab
--- /dev/null
+++ b/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/fill-values
@@ -0,0 +1,4 @@
+Skeleton: upload-non-native
+Testname: instruction-chicken-soup
+Package-Architecture: all
+Description: Instruction 'chicken-soup' in DEBIAN/conffiles
diff --git a/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/orig/etc/some.config b/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/orig/etc/some.config
new file mode 100644
index 0000000..75e946e
--- /dev/null
+++ b/t/recipes/checks/conffiles/instruction-chicken-soup/build-spec/orig/etc/some.config
@@ -0,0 +1 @@
+A CONFIGURATION.