summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec')
-rw-r--r--t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/README.source1
-rw-r--r--t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00list12
-rw-r--r--t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00list.sparc1
-rw-r--r--t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00options1
-rw-r--r--t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/02_i_dont_have_a_description.patch7
-rw-r--r--t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/03_specified_without_dpatch.dpatch5
-rw-r--r--t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/04_i_dont_have_a_description_either.patch7
-rw-r--r--t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/05_dep3.diff7
-rw-r--r--t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/fill-values4
9 files changed, 45 insertions, 0 deletions
diff --git a/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/README.source b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/README.source
new file mode 100644
index 0000000..4ff54b4
--- /dev/null
+++ b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/README.source
@@ -0,0 +1 @@
+I am using dpatch.
diff --git a/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00list b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00list
new file mode 100644
index 0000000..52ee366
--- /dev/null
+++ b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00list
@@ -0,0 +1,12 @@
+01_not_here_right_now.dpatch
+
+# some comment
+/* some more
+ elaborate comment
+ which needs DPATCH_OPTION_CPP=1
+ */02_i_dont_have_a_description.patch 03_specified_without_dpatch
+
+// and again a comment
+
+04_i_dont_have_a_description_either.patch
+05_dep3.diff
diff --git a/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00list.sparc b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00list.sparc
new file mode 100644
index 0000000..8b47ab3
--- /dev/null
+++ b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00list.sparc
@@ -0,0 +1 @@
+01_some_other_patch_thats_not_in_the_package.dpatch
diff --git a/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00options b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00options
new file mode 100644
index 0000000..57ffeb6
--- /dev/null
+++ b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00options
@@ -0,0 +1 @@
+DPATCH_OPTION_CPP=1
diff --git a/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/02_i_dont_have_a_description.patch b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/02_i_dont_have_a_description.patch
new file mode 100644
index 0000000..9279c1b
--- /dev/null
+++ b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/02_i_dont_have_a_description.patch
@@ -0,0 +1,7 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_i_dont_have_a_description.patch.dpatch by Marc 'HE' Brockschmidt <Marc 'HE' Brockschmidt <he@debian.org>>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
diff --git a/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/03_specified_without_dpatch.dpatch b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/03_specified_without_dpatch.dpatch
new file mode 100644
index 0000000..8303ac6
--- /dev/null
+++ b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/03_specified_without_dpatch.dpatch
@@ -0,0 +1,5 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Listed in 00list without .dpatch suffix.
+
+@DPATCH@
diff --git a/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/04_i_dont_have_a_description_either.patch b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/04_i_dont_have_a_description_either.patch
new file mode 100644
index 0000000..b603f16
--- /dev/null
+++ b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/04_i_dont_have_a_description_either.patch
@@ -0,0 +1,7 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 04_i_dont_have_a_description_either.patch by Adam D. Barratt <adam@adam-barratt.org.uk>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP:
+
+@DPATCH@
diff --git a/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/05_dep3.diff b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/05_dep3.diff
new file mode 100644
index 0000000..5cbb237
--- /dev/null
+++ b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/05_dep3.diff
@@ -0,0 +1,7 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 05_dep3.diff by Russ Allbery <rra@debian.org>
+#
+# Description: Patch using the DEP 3 patch header
+# Author: Russ Allbery <rra@debian.org>
+
+@DPATCH@
diff --git a/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/fill-values b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/fill-values
new file mode 100644
index 0000000..cb818e9
--- /dev/null
+++ b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/fill-values
@@ -0,0 +1,4 @@
+Skeleton: upload-native
+Testname: patch-systems-dpatch-description
+Description: Test patch-system tags for a dpatch package
+Extra-Build-Depends: dpatch