[SCM] Debian package checker branch, master, updated. 1.24.2-54-g3dab796
The following commit has been merged in the master branch:
commit aa9af079a0dfc9c31aad938c0b7c00a17e842326
Author: Tobias Quathamer <toddy@debian.org>
Date: Wed Jul 30 13:02:59 2008 +0200
Add test for debian-revision-not-well-formed
diff --git a/testset/fields/debian/changelog b/testset/fields/debian/changelog
new file mode 100644
index 0000000..0d3fcf5
--- /dev/null
+++ b/testset/fields/debian/changelog
@@ -0,0 +1,6 @@
+fields (1.5-.3) unstable; urgency=low
+
+ * This package adds tests for the following tags:
+ - debian-revision-not-well-formed
+
+ -- Tobias Quathamer <toddy@debian.org> Wed, 30 Jul 2008 12:35:09 +0200
diff --git a/testset/fields/debian/control b/testset/fields/debian/control
new file mode 100644
index 0000000..e7d1bfa
--- /dev/null
+++ b/testset/fields/debian/control
@@ -0,0 +1,10 @@
+Source: fields
+Section: does-not-exist
+Priority: standard
+Maintainer: Lintian Maintainers <lintian-maint@debian.org>
+Standards-Version: 3.8.0
+
+Package: fields
+Architecture: all
+Description: Generate some errors
+ Field testing is fun!
diff --git a/testset/fields/debian/rules b/testset/fields/debian/rules
new file mode 100755
index 0000000..9c3abac
--- /dev/null
+++ b/testset/fields/debian/rules
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+
+tmp=debian/tmp
+
+build:
+
+binary-arch:
+
+binary-indep:
+ install -d $(tmp)/usr/share/doc/fields
+ install -m 644 debian/changelog \
+ $(tmp)/usr/share/doc/fields/changelog
+ gzip -9 $(tmp)/usr/share/doc/fields/changelog
+ dh_md5sums
+ dpkg-gencontrol
+ dpkg --build $(tmp) ..
+
+binary: binary-arch binary-indep
+
+clean:
+ rm -rf debian/files $(tmp) debian/substvars
+
+.PHONY: build binary-arch binary-indep binary clean
diff --git a/testset/tags.fields b/testset/tags.fields
new file mode 100644
index 0000000..13a28ba
--- /dev/null
+++ b/testset/tags.fields
@@ -0,0 +1,10 @@
+E: fields source: package-uses-debhelper-but-lacks-build-depends
+E: fields: debian-changelog-file-missing-or-wrong-name
+E: fields: no-copyright-file
+W: fields source: changelog-should-mention-nmu
+W: fields source: debian-revision-not-well-formed 1.5-.3
+W: fields source: native-package-with-dash-version
+W: fields source: package-uses-deprecated-debhelper-compat-version 1
+W: fields source: source-nmu-has-incorrect-version-number 1.5-.3
+W: fields: debian-revision-not-well-formed 1.5-.3
+W: fields: unknown-section does-not-exist
--
Debian package checker
Reply to: