summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debian/version-substvars/version-substvars-obsolete/build-spec
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/debian/version-substvars/version-substvars-obsolete/build-spec')
-rw-r--r--t/recipes/checks/debian/version-substvars/version-substvars-obsolete/build-spec/debian/control.in57
-rw-r--r--t/recipes/checks/debian/version-substvars/version-substvars-obsolete/build-spec/fill-values5
2 files changed, 62 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/version-substvars/version-substvars-obsolete/build-spec/debian/control.in b/t/recipes/checks/debian/version-substvars/version-substvars-obsolete/build-spec/debian/control.in
new file mode 100644
index 0000000..200f9ad
--- /dev/null
+++ b/t/recipes/checks/debian/version-substvars/version-substvars-obsolete/build-spec/debian/control.in
@@ -0,0 +1,57 @@
+Source: [% $source %]
+Priority: optional
+Section: [% $section %]
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends: [% $build_depends %]
+Rules-Requires-Root: no
+
+Package: program-bin
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ program-data (= ${binary:Version}),
+ program-data-extra (= ${source:Version})
+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.
+
+
+Package: program-data
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ foreign-pkg:any (= ${Source-Version})
+Replaces: other-foreign-pkg:any (<< ${binary:Version})
+Description: [% $description %] - data
+ 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.
+ .
+ Data package.
+
+Package: program-utils
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ program-bin:any (= ${source:Version}),
+ program-data (>= ${binary:Version})
+Description: [% $description %] - extra utils
+ 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.
+ .
+ Extra utils.
+
+Package: program-data-extra
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ program-bin:any (= ${binary:Version}),
+Description: [% $description %] - extra data
+ 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.
+ .
+ Extra-Data package.
diff --git a/t/recipes/checks/debian/version-substvars/version-substvars-obsolete/build-spec/fill-values b/t/recipes/checks/debian/version-substvars/version-substvars-obsolete/build-spec/fill-values
new file mode 100644
index 0000000..ec9740c
--- /dev/null
+++ b/t/recipes/checks/debian/version-substvars/version-substvars-obsolete/build-spec/fill-values
@@ -0,0 +1,5 @@
+Skeleton: upload-native
+Testname: version-substvars-obsolete
+Description: Test of substvars
+Extra-Build-Depends: dpkg (<< 1.17.2)
+# dpkg 1.18.11 Will error out for ${source-version}