diff options
Diffstat (limited to 't/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs')
5 files changed, 44 insertions, 0 deletions
diff --git a/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/build-spec/debian/control.in b/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/build-spec/debian/control.in new file mode 100644 index 0000000..19bc99a --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/build-spec/debian/control.in @@ -0,0 +1,14 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: binary-targets + +Package: [% $source %] +Architecture: [% $package_architecture %] +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. diff --git a/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/build-spec/debian/rules new file mode 100755 index 0000000..df647f8 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/build-spec/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +PKG = debhelper-package-does-not-use-debhelper-or-cdbs +DOCS = debian/tmp/usr/share/doc/$(PKG) + +clean: + rm -rf debian/tmp + +build: + +binary: + install -d debian/tmp/DEBIAN $(DOCS) + install -m 0644 -t $(DOCS) debian/copyright debian/changelog + gzip -9n $(DOCS)/changelog + cd debian/tmp && \ + find * -type f ! -regex "DEBIAN/.*" -print0 | \ + LC_ALL=C sort -z | xargs -0r md5sum > DEBIAN/md5sums + chown -R 0:0 debian/tmp + chmod -R u+w,go=rX debian/tmp + dpkg-gencontrol + dpkg --build debian/tmp .. + +.PHONY: binary binary-arch binary-indep build-arch build-indep clean diff --git a/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/build-spec/fill-values new file mode 100644 index 0000000..6b83677 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debhelper-package-does-not-use-debhelper-or-cdbs +Description: Test for packages not using debhelper or CDBS diff --git a/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/eval/desc b/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/eval/desc new file mode 100644 index 0000000..5885652 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/eval/desc @@ -0,0 +1,2 @@ +Testname: debhelper-package-does-not-use-debhelper-or-cdbs +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/eval/hints b/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/eval/hints new file mode 100644 index 0000000..06c2ad1 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-package-does-not-use-debhelper-or-cdbs/eval/hints @@ -0,0 +1,2 @@ +debhelper-package-does-not-use-debhelper-or-cdbs (source): package-does-not-use-debhelper-or-cdbs [debian/rules] +debhelper-package-does-not-use-debhelper-or-cdbs (source): debian-build-system other [debian/rules] |