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 --- .../legacy-fields/build-spec/debian/changelog.in | 10 +++++++ .../legacy-fields/build-spec/debian/compat.in | 1 + .../legacy-fields/build-spec/debian/control | 28 ++++++++++++++++++ .../legacy-fields/build-spec/debian/rules | 33 ++++++++++++++++++++++ .../debhelper/legacy-fields/build-spec/fill-values | 5 ++++ 5 files changed, 77 insertions(+) create mode 100644 t/recipes/checks/debhelper/legacy-fields/build-spec/debian/changelog.in create mode 100644 t/recipes/checks/debhelper/legacy-fields/build-spec/debian/compat.in create mode 100644 t/recipes/checks/debhelper/legacy-fields/build-spec/debian/control create mode 100755 t/recipes/checks/debhelper/legacy-fields/build-spec/debian/rules create mode 100644 t/recipes/checks/debhelper/legacy-fields/build-spec/fill-values (limited to 't/recipes/checks/debhelper/legacy-fields/build-spec') diff --git a/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/changelog.in b/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/changelog.in new file mode 100644 index 0000000..38fc4e9 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/changelog.in @@ -0,0 +1,10 @@ +fields ([% $version %]) [% $distribution %]; urgency=low + + * This package adds tests for the following tags: + - debian-revision-not-well-formed + - depends-on-python-minimal + - essential-no-not-needed + - debian-revision-should-not-be-zero + - new-essential-package + + -- Tobias Quathamer Sun, 10 Apr 2011 14:30:00 +0100 diff --git a/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/compat.in b/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/control b/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/control new file mode 100644 index 0000000..d980a6e --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/control @@ -0,0 +1,28 @@ +Source: fields +Section: does-not-exist +Priority: standard +Maintainer: Lintian Maintainers +Standards-Version: 3.9.2 + +Package: fields +Essential: no +Architecture: all +Depends: python-minimal +Description: Generate some errors + 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: another-version +Essential: yes +Section: admin +Architecture: all +Description: Also generate some errors + This package gets another version number and tries to sneak in a new + essential package. + . + 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/debhelper/legacy-fields/build-spec/debian/rules b/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/rules new file mode 100755 index 0000000..11ad4a7 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-fields/build-spec/debian/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f + +tmp=debian/tmp + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d $(tmp)/usr/share/doc/fields + install -m 644 debian/changelog \ + $(tmp)/usr/share/doc/fields/changelog + gzip -n -9 $(tmp)/usr/share/doc/fields/changelog + dh_md5sums -pfields -P$(tmp) + dpkg-gencontrol -pfields -P$(tmp) + dpkg --build $(tmp) .. + rm -rf $(tmp) + + # Create another package with a different version + dh_md5sums -panother-version -P$(tmp) + dpkg-gencontrol -panother-version -v123.4-0 -P$(tmp) + dpkg --build $(tmp) .. + +binary: binary-arch binary-indep + +clean: + rm -rf debian/files $(tmp) debian/substvars + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/debhelper/legacy-fields/build-spec/fill-values b/t/recipes/checks/debhelper/legacy-fields/build-spec/fill-values new file mode 100644 index 0000000..fe90eb0 --- /dev/null +++ b/t/recipes/checks/debhelper/legacy-fields/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-non-native +Testname: legacy-fields +Source: fields +Version: 1.5-.3 +Description: Legacy test "fields" -- cgit v1.2.3