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 --- .../recommended/generic-empty/build-spec/debian/changelog.in | 2 ++ .../recommended/generic-empty/build-spec/debian/control.in | 5 +++++ .../fields/recommended/generic-empty/build-spec/debian/rules | 9 +++++++++ .../fields/recommended/generic-empty/build-spec/fill-values | 4 ++++ .../fields/recommended/generic-empty/build-spec/orig/README | 4 ++++ .../checks/fields/recommended/generic-empty/build-spec/pre-build | 6 ++++++ 6 files changed, 30 insertions(+) create mode 100644 t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/control.in create mode 100755 t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/rules create mode 100644 t/recipes/checks/fields/recommended/generic-empty/build-spec/fill-values create mode 100644 t/recipes/checks/fields/recommended/generic-empty/build-spec/orig/README create mode 100755 t/recipes/checks/fields/recommended/generic-empty/build-spec/pre-build (limited to 't/recipes/checks/fields/recommended/generic-empty/build-spec') diff --git a/t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/changelog.in b/t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/changelog.in new file mode 100644 index 0000000..7a4298d --- /dev/null +++ b/t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/changelog.in @@ -0,0 +1,2 @@ +[% $source %] ([% $version %]) unstable; + -- a <> Tue, 30 Dec 2008 17:34:02 -0800 diff --git a/t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/control.in b/t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/control.in new file mode 100644 index 0000000..575773e --- /dev/null +++ b/t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/control.in @@ -0,0 +1,5 @@ +Source: [% $source %] +Maintainer: a + +Package: [% $source %] +Architecture: [% $package_architecture %] diff --git a/t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/rules b/t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/rules new file mode 100755 index 0000000..62da96d --- /dev/null +++ b/t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +build: +binary: + install -d debian/generic-empty debian/generic-empty/DEBIAN + dpkg-gencontrol -pgeneric-empty -Pdebian/generic-empty + dpkg --build debian/generic-empty .. + +clean: + rm -rf debian/generic-empty diff --git a/t/recipes/checks/fields/recommended/generic-empty/build-spec/fill-values b/t/recipes/checks/fields/recommended/generic-empty/build-spec/fill-values new file mode 100644 index 0000000..26d9bdc --- /dev/null +++ b/t/recipes/checks/fields/recommended/generic-empty/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: generic-empty +Package-Architecture: all +Description: Pathological empty package diff --git a/t/recipes/checks/fields/recommended/generic-empty/build-spec/orig/README b/t/recipes/checks/fields/recommended/generic-empty/build-spec/orig/README new file mode 100644 index 0000000..ed1b149 --- /dev/null +++ b/t/recipes/checks/fields/recommended/generic-empty/build-spec/orig/README @@ -0,0 +1,4 @@ +This is the smallest possible Debian package that I can get +dpkg-buildpackage to build (with the exception of this documentation). +It tests Lintian handling of packages that are missing everything one +would normally expect to have. diff --git a/t/recipes/checks/fields/recommended/generic-empty/build-spec/pre-build b/t/recipes/checks/fields/recommended/generic-empty/build-spec/pre-build new file mode 100755 index 0000000..1a3929a --- /dev/null +++ b/t/recipes/checks/fields/recommended/generic-empty/build-spec/pre-build @@ -0,0 +1,6 @@ +#!/bin/sh +# +# Remove as many files from the package as possible. + +rm -f "$1/debian/compat" +rm -f "$1/debian/copyright" -- cgit v1.2.3