summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/fields/section/fields-transitional/build-spec
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/fields/section/fields-transitional/build-spec')
-rw-r--r--t/recipes/checks/fields/section/fields-transitional/build-spec/debian/control.in15
-rw-r--r--t/recipes/checks/fields/section/fields-transitional/build-spec/debian/install1
-rw-r--r--t/recipes/checks/fields/section/fields-transitional/build-spec/fill-values3
-rw-r--r--t/recipes/checks/fields/section/fields-transitional/build-spec/orig/some-file2
4 files changed, 21 insertions, 0 deletions
diff --git a/t/recipes/checks/fields/section/fields-transitional/build-spec/debian/control.in b/t/recipes/checks/fields/section/fields-transitional/build-spec/debian/control.in
new file mode 100644
index 0000000..169c352
--- /dev/null
+++ b/t/recipes/checks/fields/section/fields-transitional/build-spec/debian/control.in
@@ -0,0 +1,15 @@
+Source: [% $source %]
+Priority: standard
+Section: devel
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends: [% $build_depends %]
+Rules-Requires-Root: no
+
+Package: [% $source %]
+Architecture: [% $package_architecture %]
+Depends: ${misc:Depends},
+ some-replacement
+Description: [% $description %]
+ This is a transitional package that should have been in section
+ oldlibs and priority extra.
diff --git a/t/recipes/checks/fields/section/fields-transitional/build-spec/debian/install b/t/recipes/checks/fields/section/fields-transitional/build-spec/debian/install
new file mode 100644
index 0000000..6c37889
--- /dev/null
+++ b/t/recipes/checks/fields/section/fields-transitional/build-spec/debian/install
@@ -0,0 +1 @@
+some-file usr/share/lintian
diff --git a/t/recipes/checks/fields/section/fields-transitional/build-spec/fill-values b/t/recipes/checks/fields/section/fields-transitional/build-spec/fill-values
new file mode 100644
index 0000000..99dded7
--- /dev/null
+++ b/t/recipes/checks/fields/section/fields-transitional/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: fields-transitional
+Description: Test for transitional package in wrong section
diff --git a/t/recipes/checks/fields/section/fields-transitional/build-spec/orig/some-file b/t/recipes/checks/fields/section/fields-transitional/build-spec/orig/some-file
new file mode 100644
index 0000000..7bf08f7
--- /dev/null
+++ b/t/recipes/checks/fields/section/fields-transitional/build-spec/orig/some-file
@@ -0,0 +1,2 @@
+This file is installed into /usr/share/lintian just to ensure that this
+package doesn't look like a metapackage for the dependency checks.