From 75808db17caf8b960b351e3408e74142f4c85aac Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 15:42:30 +0200 Subject: Adding upstream version 2.117.0. Signed-off-by: Daniel Baumann --- .../build-spec/debian/control.in | 18 ++++++++++++++++++ .../build-spec/debian/rules | 18 ++++++++++++++++++ .../build-spec/fill-values | 4 ++++ .../multi-arch/files-multiarch-foreign-files/eval/desc | 3 +++ .../files-multiarch-foreign-files/eval/hints | 3 +++ .../files-multiarch-foreign-files/eval/post-test | 1 + 6 files changed, 47 insertions(+) create mode 100644 t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/build-spec/debian/control.in create mode 100755 t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/build-spec/debian/rules create mode 100644 t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/build-spec/fill-values create mode 100644 t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/eval/desc create mode 100644 t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/eval/hints create mode 100644 t/recipes/checks/files/multi-arch/files-multiarch-foreign-files/eval/post-test (limited to 't/recipes/checks/files/multi-arch/files-multiarch-foreign-files') 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/, -- cgit v1.2.3