summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/files/compressed/gz/files-gzip-ma-same/build-spec
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/files/compressed/gz/files-gzip-ma-same/build-spec')
-rw-r--r--t/recipes/checks/files/compressed/gz/files-gzip-ma-same/build-spec/debian/control.in20
-rw-r--r--t/recipes/checks/files/compressed/gz/files-gzip-ma-same/build-spec/debian/install1
-rwxr-xr-xt/recipes/checks/files/compressed/gz/files-gzip-ma-same/build-spec/debian/rules22
-rw-r--r--t/recipes/checks/files/compressed/gz/files-gzip-ma-same/build-spec/fill-values5
4 files changed, 48 insertions, 0 deletions
diff --git a/t/recipes/checks/files/compressed/gz/files-gzip-ma-same/build-spec/debian/control.in b/t/recipes/checks/files/compressed/gz/files-gzip-ma-same/build-spec/debian/control.in
new file mode 100644
index 0000000..567bd9b
--- /dev/null
+++ b/t/recipes/checks/files/compressed/gz/files-gzip-ma-same/build-spec/debian/control.in
@@ -0,0 +1,20 @@
+Source: [% $source %]
+Priority: optional
+Section: [% $section %]
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends: [% $build_depends %]
+Rules-Requires-Root: no
+
+Package: [% $source %]
+Architecture: [% $package_architecture %]
+Depends: ${misc:Depends}, ${shlibs:Depends},
+Multi-Arch: same
+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/files/compressed/gz/files-gzip-ma-same/build-spec/debian/install b/t/recipes/checks/files/compressed/gz/files-gzip-ma-same/build-spec/debian/install
new file mode 100644
index 0000000..cfd0b7d
--- /dev/null
+++ b/t/recipes/checks/files/compressed/gz/files-gzip-ma-same/build-spec/debian/install
@@ -0,0 +1 @@
+*.gz* etc/
diff --git a/t/recipes/checks/files/compressed/gz/files-gzip-ma-same/build-spec/debian/rules b/t/recipes/checks/files/compressed/gz/files-gzip-ma-same/build-spec/debian/rules
new file mode 100755
index 0000000..8ed2f6a
--- /dev/null
+++ b/t/recipes/checks/files/compressed/gz/files-gzip-ma-same/build-spec/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ dh_auto_build
+ # changelog says Mon, 02 Mar 2020 17:44:19 +0000
+ touch -m -d "2003-06-21 12:12:12 UTC" before-changelog
+ gzip before-changelog
+ touch -m -d "Mon, 02 Mar 2020 23:44:19 +0000" after-changelog
+ gzip after-changelog
+
+override_dh_install:
+ dh_install
+
+override_dh_clean:
+ dh_clean
+ rm -f before-changelog.gz after-changelog.gz
+
+override_dh_strip_nondeterminism:
+ # Skip, it messes with our test
diff --git a/t/recipes/checks/files/compressed/gz/files-gzip-ma-same/build-spec/fill-values b/t/recipes/checks/files/compressed/gz/files-gzip-ma-same/build-spec/fill-values
new file mode 100644
index 0000000..3238173
--- /dev/null
+++ b/t/recipes/checks/files/compressed/gz/files-gzip-ma-same/build-spec/fill-values
@@ -0,0 +1,5 @@
+Testname: files-gzip-ma-same
+Skeleton: upload-native
+Package-Architecture: any
+Description: Test for issues handling gz in Multi-Arch same pkgs
+Date: Mon, 02 Mar 2020 17:44:19 +0000