lintian: r851 - in trunk: checks debian testset
Author: rra
Date: 2007-04-23 01:00:39 +0200 (Mon, 23 Apr 2007)
New Revision: 851
Modified:
trunk/checks/md5sums
trunk/debian/changelog
trunk/testset/tags.empty
trunk/testset/tags.foo++
trunk/testset/tags.libbaz
trunk/testset/tags.non-us
trunk/testset/tags.relations
Log:
* checks/md5sums:
+ [RA] Don't warn about a missing md5sums file if the package contains
nothing for which we would generate an MD5 checksum. Thanks,
Andreas Beckmann. (Closes: #420465)
Modified: trunk/checks/md5sums
===================================================================
--- trunk/checks/md5sums 2007-04-22 22:47:27 UTC (rev 850)
+++ trunk/checks/md5sums 2007-04-22 23:00:39 UTC (rev 851)
@@ -36,7 +36,7 @@
# Is there a md5sums control file?
unless (-f $control) {
- tag "no-md5sums-control-file", "";
+ tag "no-md5sums-control-file", "" unless -z "md5sums";
return 0;
}
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2007-04-22 22:47:27 UTC (rev 850)
+++ trunk/debian/changelog 2007-04-22 23:00:39 UTC (rev 851)
@@ -8,8 +8,12 @@
Build-Depends-Indep. Still allow them in Build-Depends, though,
since that's where CDBS likes to put them. Thanks, Tristan
Seligmann. (Closes: #420526)
+ * checks/md5sums:
+ + [RA] Don't warn about a missing md5sums file if the package contains
+ nothing for which we would generate an MD5 checksum. Thanks,
+ Andreas Beckmann. (Closes: #420465)
- -- Russ Allbery <rra@debian.org> Sun, 22 Apr 2007 15:45:39 -0700
+ -- Russ Allbery <rra@debian.org> Sun, 22 Apr 2007 16:00:33 -0700
lintian (1.23.29) unstable; urgency=low
Modified: trunk/testset/tags.empty
===================================================================
--- trunk/testset/tags.empty 2007-04-22 22:47:27 UTC (rev 850)
+++ trunk/testset/tags.empty 2007-04-22 23:00:39 UTC (rev 851)
@@ -6,7 +6,6 @@
E: empty: package-has-no-description
E: empty_1_i386.changes: no-description-in-changes-file
I: empty source: no-section-field-for-source
-I: empty: no-md5sums-control-file
W: empty source: changelog-should-mention-nmu
W: empty source: maintainer-not-full-name empty
W: empty source: source-nmu-has-incorrect-version-number 1
Modified: trunk/testset/tags.foo++
===================================================================
--- trunk/testset/tags.foo++ 2007-04-22 22:47:27 UTC (rev 850)
+++ trunk/testset/tags.foo++ 2007-04-22 23:00:39 UTC (rev 851)
@@ -12,7 +12,6 @@
E: foo++: debian-changelog-file-uses-obsolete-national-encoding at line 11
E: foo++: no-copyright-file
E: foo++: wrong-debian-qa-address-set-as-maintainer Lintian Maintainer <debian-qa@lists.debian.org>
-I: foo++-helper: no-md5sums-control-file
I: foo++: no-md5sums-control-file
W: foo++ source: ancient-standards-version 3.1.1 (current is 3.7.2)
W: foo++ source: uploader-address-looks-weird Jeroen van Wolffelaar<jeroen@localhost.localdomain>
Modified: trunk/testset/tags.libbaz
===================================================================
--- trunk/testset/tags.libbaz 2007-04-22 22:47:27 UTC (rev 850)
+++ trunk/testset/tags.libbaz 2007-04-22 23:00:39 UTC (rev 851)
@@ -17,7 +17,6 @@
E: libbaz1: unstripped-binary-or-object ./usr/lib/libfoo2.so.1.0.3b
E: libbaz2: postinst-must-call-ldconfig usr/lib/libbaz2.so.1.0.3b
E: libbaz2: symlink-should-be-relative usr/share/doc/libbaz2/changelog.gz /usr/share/doc/lintian/changelog.gz
-I: libbaz1-dev: no-md5sums-control-file
I: libbaz1: no-md5sums-control-file
I: libbaz1: possible-non-posix-code-in-maintainer-script postinst:6 '[ -d /usr/doc -a ! -e /usr/doc/$PKG -a '
I: libbaz1: possible-non-posix-code-in-maintainer-script prerm:5 '[ \( "$1" = "upgrade" -o "$1" = "remove" \) -a '
Modified: trunk/testset/tags.non-us
===================================================================
--- trunk/testset/tags.non-us 2007-04-22 22:47:27 UTC (rev 850)
+++ trunk/testset/tags.non-us 2007-04-22 23:00:39 UTC (rev 851)
@@ -4,11 +4,7 @@
E: non-us source: section-category-mismatch Package nonfree-crypto-app
E: nonfree-crypto-app: no-copyright-file
E: patented-app: no-copyright-file
-I: broken-crypto: no-md5sums-control-file
-I: crypto-app: no-md5sums-control-file
I: non-us source: no-section-field-for-source
-I: nonfree-crypto-app: no-md5sums-control-file
-I: patented-app: no-md5sums-control-file
I: patented-app: non-us-spelling
W: broken-crypto: unknown-section non-US/admin
W: non-us source: ancient-standards-version 3.1.1 (current is 3.7.2)
Modified: trunk/testset/tags.relations
===================================================================
--- trunk/testset/tags.relations 2007-04-22 22:47:27 UTC (rev 850)
+++ trunk/testset/tags.relations 2007-04-22 23:00:39 UTC (rev 851)
@@ -30,10 +30,8 @@
I: relations source: build-depends-without-arch-dep foo
I: relations source: build-depends-without-arch-dep libc6-dev
I: relations source: build-depends-without-arch-dep mail-transport-agent
-I: relations-multiple-libs: no-md5sums-control-file
I: relations-multiple-libs: unknown-field-in-control bugs
I: relations-multiple-libs: unknown-field-in-control origin
-I: relations: no-md5sums-control-file
I: relations: unknown-field-in-control bugs
I: relations: unknown-field-in-control origin
W: relations source: ancient-standards-version 3.1.1 (current is 3.7.2)
Reply to: