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 | 39 ++++++++++++++++++++++ .../build-spec/debian/rules | 12 +++++++ .../build-spec/fill-values | 3 ++ .../copyright/copyright-file-doc-symlink/eval/desc | 3 ++ .../copyright-file-doc-symlink/eval/hints | 0 5 files changed, 57 insertions(+) create mode 100644 t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/debian/control.in create mode 100755 t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/debian/rules create mode 100644 t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/fill-values create mode 100644 t/recipes/checks/debian/copyright/copyright-file-doc-symlink/eval/desc create mode 100644 t/recipes/checks/debian/copyright/copyright-file-doc-symlink/eval/hints (limited to 't/recipes/checks/debian/copyright/copyright-file-doc-symlink') diff --git a/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/debian/control.in b/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/debian/control.in new file mode 100644 index 0000000..324f170 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/debian/control.in @@ -0,0 +1,39 @@ +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: ${shlibs:Depends}, ${misc:Depends} +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: [% $source %]-helper +Architecture: [% $package_architecture %] +Depends: [% $source %] (= [% $version %]), ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (symlink) + Helper package with a legitimate /usr/share/doc symlink. + . + 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: [% $source %]-weak +Architecture: [% $package_architecture %] +Depends: [% $source %], ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (weak) + Helper package with a /usr/share/doc symlink but an insufficiently + strong dependency. Lintian intentionally doesn't diagnose this. + . + 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/debian/copyright/copyright-file-doc-symlink/build-spec/debian/rules b/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/debian/rules new file mode 100755 index 0000000..32f23a0 --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +pkg := copyright-file-doc-symlink + +%: + dh $@ + +override_dh_prep: + mkdir -p debian/$(pkg)-helper/usr/share/doc + ln -s $(pkg) debian/$(pkg)-helper/usr/share/doc/$(pkg)-helper + mkdir -p debian/$(pkg)-weak/usr/share/doc + ln -s $(pkg) debian/$(pkg)-weak/usr/share/doc/$(pkg)-weak diff --git a/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/fill-values b/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/fill-values new file mode 100644 index 0000000..77a06bf --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: copyright-file-doc-symlink +Description: Test a symlinked /usr/share/doc diff --git a/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/eval/desc b/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/eval/desc new file mode 100644 index 0000000..d56438f --- /dev/null +++ b/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/eval/desc @@ -0,0 +1,3 @@ +Testname: copyright-file-doc-symlink +Test-Against: usr-share-doc-symlink-without-dependency +Check: debian/copyright diff --git a/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/eval/hints b/t/recipes/checks/debian/copyright/copyright-file-doc-symlink/eval/hints new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3