diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
commit | 75808db17caf8b960b351e3408e74142f4c85aac (patch) | |
tree | 7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/group-checks/group-checks-multi-arch | |
parent | Initial commit. (diff) | |
download | lintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip |
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/recipes/checks/group-checks/group-checks-multi-arch')
10 files changed, 75 insertions, 0 deletions
diff --git a/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/debian/control.in b/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/debian/control.in new file mode 100644 index 0000000..5e2a616 --- /dev/null +++ b/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/debian/control.in @@ -0,0 +1,52 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: pkg-foreign +Architecture: all +Depends: ${misc:Depends} +Description: [% $description %] - pkg-foreign + 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. + . + Should have been Multi-arch foreign package. + +Package: pkg-same +Architecture: any +Depends: ${misc:Depends}, pkg-foreign +Multi-Arch: same +Description: [% $description %] - pkg-same + 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. + . + Multi-arch same package. + +Package: pkg-dbg +Section: debug +Architecture: any +Depends: ${misc:Depends}, pkg-same (= ${binary:Version}), + pkg-foreign (>= ${source:Version}) +Description: [% $description %] - pkg-dbg + 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. + . + Multi-arch <none> debug package. + +Package: python3-pkg-dbg +Section: debug +Architecture: any +Depends: ${misc:Depends}, pkg-same (= ${binary:Version}), + pkg-foreign (>= ${source:Version}) +Description: [% $description %] - python-pkg-dbg + 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. + . + Multi-arch <none> Python "debug package" false positive. diff --git a/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/debian/pkg-dbg.install b/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/debian/pkg-dbg.install new file mode 100644 index 0000000..fca7cfd --- /dev/null +++ b/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/debian/pkg-dbg.install @@ -0,0 +1 @@ +usr/lib/debug/ diff --git a/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/debian/pkg-foreign.docs b/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/debian/pkg-foreign.docs new file mode 100644 index 0000000..ff0f331 --- /dev/null +++ b/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/debian/pkg-foreign.docs @@ -0,0 +1 @@ +some-doc.txt diff --git a/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/debian/pkg-same.install b/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/debian/pkg-same.install new file mode 100644 index 0000000..a1157c9 --- /dev/null +++ b/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/debian/pkg-same.install @@ -0,0 +1,2 @@ +usr/lib/pkg-same/ + diff --git a/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/debian/python3-pkg-dbg.install b/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/debian/python3-pkg-dbg.install new file mode 100644 index 0000000..ee57923 --- /dev/null +++ b/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/debian/python3-pkg-dbg.install @@ -0,0 +1 @@ +usr/lib/debug/ usr/lib/python3 diff --git a/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/fill-values b/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/fill-values new file mode 100644 index 0000000..2828591 --- /dev/null +++ b/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: group-checks-multi-arch +Description: Test for multi-arch issues diff --git a/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/orig/Makefile b/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/orig/Makefile new file mode 100644 index 0000000..91d0c72 --- /dev/null +++ b/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/orig/Makefile @@ -0,0 +1,10 @@ +DATAFILE=data-$(shell dpkg-architecture -qDEB_HOST_ARCH) + +all: + echo $(DATAFILE) > $(DATAFILE) + +install: + install -d $(DESTDIR)/usr/lib/pkg-same/ \ + $(DESTDIR)/usr/lib/debug/pkg-same/ + install -m 0644 $(DATAFILE) $(DESTDIR)/usr/lib/pkg-same/$(DATAFILE) + install -m 0644 $(DATAFILE) $(DESTDIR)/usr/lib/debug/pkg-same/$(DATAFILE) diff --git a/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/orig/some-doc.txt b/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/orig/some-doc.txt new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/t/recipes/checks/group-checks/group-checks-multi-arch/build-spec/orig/some-doc.txt @@ -0,0 +1 @@ +README diff --git a/t/recipes/checks/group-checks/group-checks-multi-arch/eval/desc b/t/recipes/checks/group-checks/group-checks-multi-arch/eval/desc new file mode 100644 index 0000000..2635c91 --- /dev/null +++ b/t/recipes/checks/group-checks/group-checks-multi-arch/eval/desc @@ -0,0 +1,2 @@ +Testname: group-checks-multi-arch +Check: group-checks diff --git a/t/recipes/checks/group-checks/group-checks-multi-arch/eval/hints b/t/recipes/checks/group-checks/group-checks-multi-arch/eval/hints new file mode 100644 index 0000000..fefe252 --- /dev/null +++ b/t/recipes/checks/group-checks/group-checks-multi-arch/eval/hints @@ -0,0 +1,2 @@ +group-checks-multi-arch (source): dependency-is-not-multi-archified pkg-same depends on pkg-foreign (multi-arch: no) +group-checks-multi-arch (source): debug-package-for-multi-arch-same-pkg-not-coinstallable pkg-dbg => pkg-same |