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/changelog.in | 10 ++++++++++ .../build-spec/debian/control.in | 16 ++++++++++++++++ .../changelog-file-wrong-weekday/build-spec/fill-values | 3 +++ .../changelog/changelog-file-wrong-weekday/eval/desc | 4 ++++ .../changelog/changelog-file-wrong-weekday/eval/hints | 1 + .../profiles/lintian-test/main.profile | 2 ++ .../main/data/standards-version/ancient-date | 7 +++++++ 7 files changed, 43 insertions(+) create mode 100644 t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/debian/control.in create mode 100644 t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/fill-values create mode 100644 t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/desc create mode 100644 t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/hints create mode 100644 t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/lintian-include-dir/profiles/lintian-test/main.profile create mode 100644 t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/lintian-include-dir/vendors/lintian-test/main/data/standards-version/ancient-date (limited to 't/recipes/checks/debian/changelog/changelog-file-wrong-weekday') diff --git a/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/debian/changelog.in b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/debian/changelog.in new file mode 100644 index 0000000..8fcb315 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/debian/changelog.in @@ -0,0 +1,10 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + * Suppress "should close ITP bug" messages. (Closes: #123456) + + * A bit of wishful thinking that the date below was a Friday. + + -- [% $author %] Fri, 07 Apr 2016 17:00:00 +0000 + diff --git a/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/debian/control.in b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/debian/control.in new file mode 100644 index 0000000..0818186 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: 3.9.8 +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. diff --git a/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/fill-values new file mode 100644 index 0000000..0d2c5b7 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: changelog-file-wrong-weekday +Description: Test for wrong weekday in changelog date diff --git a/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/desc b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/desc new file mode 100644 index 0000000..3411212 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/desc @@ -0,0 +1,4 @@ +Testname: changelog-file-wrong-weekday +Profile: lintian-test +Options: --include-dir ./lintian-include-dir +Check: debian/changelog diff --git a/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/hints b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/hints new file mode 100644 index 0000000..22e8a79 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/hints @@ -0,0 +1 @@ +changelog-file-wrong-weekday (binary): debian-changelog-has-wrong-day-of-week 2016-04-07 was a Thursday [usr/share/doc/changelog-file-wrong-weekday/changelog.gz:1] diff --git a/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/lintian-include-dir/profiles/lintian-test/main.profile b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/lintian-include-dir/profiles/lintian-test/main.profile new file mode 100644 index 0000000..f0e27cf --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/lintian-include-dir/profiles/lintian-test/main.profile @@ -0,0 +1,2 @@ +Profile: lintian-test/main +Extends: debian/main diff --git a/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/lintian-include-dir/vendors/lintian-test/main/data/standards-version/ancient-date b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/lintian-include-dir/vendors/lintian-test/main/data/standards-version/ancient-date new file mode 100644 index 0000000..42f8743 --- /dev/null +++ b/t/recipes/checks/debian/changelog/changelog-file-wrong-weekday/eval/lintian-include-dir/vendors/lintian-test/main/data/standards-version/ancient-date @@ -0,0 +1,7 @@ +# Any Standards Version released before this day is "ancient" +# +# Frozen for this test so we do not have to update the test every time +# we update the real "ancient-date" data file. +# +# Format is ANCIENT < Date +ANCIENT < 20 Feb 2014 -- cgit v1.2.3