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/files/multi-arch/files-multiarch-foreign-files | |
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/files/multi-arch/files-multiarch-foreign-files')
6 files changed, 47 insertions, 0 deletions
diff --git a/t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/build-spec/debian/control.in b/t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/build-spec/debian/control.in new file mode 100644 index 0000000..f0ba081 --- /dev/null +++ b/t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libfoo-dev +Section: libdevel +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, ${shlibs:Depends}, +Multi-Arch: foreign +Description: [% $description %] (dev) + 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/multi-arch/files-multiarch-foreign-files/build-spec/debian/rules b/t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/build-spec/debian/rules new file mode 100755 index 0000000..ba49d56 --- /dev/null +++ b/t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/build-spec/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f + +DESTDIR = debian/$(shell dh_listpackages)/usr/lib/$(DEB_HOST_MULTIARCH) + +%: + dh $@ + +override_dh_auto_install: + dh_auto_install + + mkdir -p $(DESTDIR)/cmake + mkdir -p $(DESTDIR)/pkgconfig + + touch $(DESTDIR)/libfoo.a + touch $(DESTDIR)/cmake/foo.cmake + touch $(DESTDIR)/pkgconfig/libfoo.pc + +override_dh_strip: diff --git a/t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/build-spec/fill-values b/t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/build-spec/fill-values new file mode 100644 index 0000000..c391850 --- /dev/null +++ b/t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: files-multiarch-foreign-files +Description: Test for files violating Multi-Arch: foreign +Package-Architecture: any diff --git a/t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/eval/desc b/t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/eval/desc new file mode 100644 index 0000000..30118b5 --- /dev/null +++ b/t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/eval/desc @@ -0,0 +1,3 @@ +Testname: files-multiarch-foreign-files +Check: files/multi-arch +Test-Architectures: amd64 diff --git a/t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/eval/hints b/t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/eval/hints new file mode 100644 index 0000000..120cded --- /dev/null +++ b/t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/eval/hints @@ -0,0 +1,3 @@ +libfoo-dev (binary): multiarch-foreign-static-library [usr/lib/x86_64-linux-gnu/libfoo.a] +libfoo-dev (binary): multiarch-foreign-pkgconfig [usr/lib/x86_64-linux-gnu/pkgconfig/libfoo.pc] +libfoo-dev (binary): multiarch-foreign-cmake-file [usr/lib/x86_64-linux-gnu/cmake/foo.cmake] diff --git a/t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/eval/post-test b/t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/eval/post-test new file mode 100644 index 0000000..7e8f67e --- /dev/null +++ b/t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/eval/post-test @@ -0,0 +1 @@ +s, usr/lib/[^/]+/, usr/lib/TRIPLET/, |