Package: lintian Version: 1.23.46 Tags: patch Hi,
I've prepared another patch for the current SVN trunk regarding description checks. This time, I think I've discovered an actual bug in Lintian, because it does not detect that the description synopsis starts with spaces. Regards, Tobias -- Tobias Toedter | The way to a man's heart is through the left Hamburg, Germany | ventricle.
diff --git a/testset/description/debian/changelog b/testset/description/debian/changelog index 9877911..410a68e 100644 --- a/testset/description/debian/changelog +++ b/testset/description/debian/changelog @@ -1,3 +1,12 @@ +description (1.1-1) unstable; urgency=low + + * Add the following tests of tags never seen: + - description-synopsis-has-leading-spaces + This is not yet recognized by Lintian, so the testset currently + fails. + + -- Tobias Toedter <[EMAIL PROTECTED]> Wed, 23 Apr 2008 13:12:32 +0200 + description (1.0-1) unstable; urgency=low * Initial release. diff --git a/testset/description/debian/control b/testset/description/debian/control index cbeb1c9..fd70d41 100644 --- a/testset/description/debian/control +++ b/testset/description/debian/control @@ -2,7 +2,7 @@ Source: description Section: text Priority: extra Maintainer: Lintian Maintainers <[EMAIL PROTECTED]> -Uploaders: Tobias Toedter <[EMAIL PROTECTED]> +Uploaders: Tobias Toedter <[EMAIL PROTECTED]> Standards-Version: 3.7.3 Package: description @@ -32,3 +32,8 @@ Description: . and please avoid control statements in the long description. The line in an extended description should be less than 80 characters, otherwise you'll get a Lintian warning. + +Package: description-baz +Architecture: all +Description: the synopsis starts with spaces + This is a real Lintian bug which has been discovered with this testset. diff --git a/testset/description/debian/rules b/testset/description/debian/rules index 4281fa7..855170c 100755 --- a/testset/description/debian/rules +++ b/testset/description/debian/rules @@ -3,6 +3,7 @@ description=debian/description description-foo=debian/description-foo description-bar=debian/description-bar +description-baz=debian/description-baz build: @@ -36,11 +37,21 @@ binary-indep: gzip -9 $(description-bar)/usr/share/doc/description/changelog.Debian dpkg-gencontrol -pdescription-bar -P$(description-bar) dpkg --build $(description-bar) .. + + # Create package description-baz + install -d $(description-baz) + install -d $(description-baz)/DEBIAN + install -d $(description-baz)/usr/share/doc/description + install -m 644 debian/changelog \ + $(description-baz)/usr/share/doc/description/changelog.Debian + gzip -9 $(description-baz)/usr/share/doc/description/changelog.Debian + dpkg-gencontrol -pdescription-baz -P$(description-baz) + dpkg --build $(description-baz) .. binary: binary-indep clean: rm -rf debian/files $(description) $(description-foo) \ - $(description-bar) debian/substvars + $(description-bar) $(description-baz) debian/substvars .PHONY: build binary-indep binary clean diff --git a/testset/tags.description b/testset/tags.description index 79b4e17..47ce8b4 100644 --- a/testset/tags.description +++ b/testset/tags.description @@ -2,6 +2,7 @@ E: description source: debian-rules-missing-required-target binary-arch E: description-bar: description-contains-invalid-control-statement E: description-bar: description-synopsis-is-empty E: description-bar: no-copyright-file +E: description-baz: no-copyright-file E: description-foo: description-contains-tabs E: description-foo: description-too-long E: description-foo: no-copyright-file @@ -11,13 +12,14 @@ E: description: description-is-debmake-template E: description: description-starts-with-package-name E: description: no-copyright-file I: description-bar: no-md5sums-control-file +I: description-baz: no-md5sums-control-file I: description-foo: no-md5sums-control-file I: description: no-md5sums-control-file W: description source: native-package-with-dash-version W: description-bar: extended-description-line-too-long +W: description-baz: description-synopsis-has-leading-spaces W: description-foo: description-starts-with-leading-spaces W: description-foo: possible-unindented-list-in-extended-description W: description: changelog-not-compressed-with-max-compression changelog.Debian.gz W: description: debian-changelog-file-contains-obsolete-user-emacs-settings W: description: description-synopsis-might-not-be-phrased-properly -W: description: new-package-should-close-itp-bug
signature.asc
Description: PGP signature