[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lintian: r389 - in trunk: checks debian testset testset/manpages/debian



Author: he
Date: 2004-12-24 00:15:53 +0100 (Fri, 24 Dec 2004)
New Revision: 389

Modified:
   trunk/checks/fields
   trunk/checks/fields.desc
   trunk/debian/changelog
   trunk/testset/manpages/debian/changelog
   trunk/testset/tags.manpages
Log:
* checks/fields:
  + [HE] Warn if the debian revision has three parts, as this is the sign of
    a binary NMU. New check's name is binary-nmu-debian-revision-in-source.
    (Closes: #244830)



Modified: trunk/checks/fields
===================================================================
--- trunk/checks/fields	2004-12-23 22:29:51 UTC (rev 388)
+++ trunk/checks/fields	2004-12-23 23:15:53 UTC (rev 389)
@@ -79,6 +79,9 @@
 			if (not defined $1 or defined $2) {
 				tag "debian-revision-not-well-formed", "$version";
 			}
+			if ($debian =~ /^-[^.]+\.[^.]+\./ && ($type eq "source")) {
+				tag "binary-nmu-debian-revision-in-source", "$version";
+			}
 		}
 	} else {
 		tag "bad-version-number", "$version";

Modified: trunk/checks/fields.desc
===================================================================
--- trunk/checks/fields.desc	2004-12-23 22:29:51 UTC (rev 388)
+++ trunk/checks/fields.desc	2004-12-23 23:15:53 UTC (rev 389)
@@ -481,3 +481,9 @@
 Type: warning
 Info: You use the Origin field though the field value is the default (Debian).
  In this case the field is redundant and should be removed.
+
+Tag: binary-nmu-debian-revision-in-source
+Type: warning
+Ref: devref 5.10.2.1
+Info: The version number of your source package has a debian revision with
+ three parts, which is usually used by binary NMUs.

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-12-23 22:29:51 UTC (rev 388)
+++ trunk/debian/changelog	2004-12-23 23:15:53 UTC (rev 389)
@@ -6,6 +6,10 @@
     + [HE] Warn if the short description start with an article or a capital
       letter. Patch by Tobias Toedter <t.toedter@gmx.net>, thanks. (Closes:
       #258824)
+  * checks/fields:
+    + [HE] Warn if the debian revision has three parts, as this is the sign of
+      a binary NMU. New check's name is binary-nmu-debian-revision-in-source.
+      (Closes: #244830)
   * checks/manpages:
     + [HE] Don't compare the manpage filename extension and the content of
       .TH case-sensitive. Report + patch by Jay Berkenbilt <ejb@ql.org>,

Modified: trunk/testset/manpages/debian/changelog
===================================================================
--- trunk/testset/manpages/debian/changelog	2004-12-23 22:29:51 UTC (rev 388)
+++ trunk/testset/manpages/debian/changelog	2004-12-23 23:15:53 UTC (rev 389)
@@ -1,4 +1,4 @@
-manpages (4) unstable; urgency=low
+manpages (4-0.0.1) unstable; urgency=low
 
   * Add a test manpage.
   * debian/rules: Fix a little bug creating a file named 755 in the source dir.

Modified: trunk/testset/tags.manpages
===================================================================
--- trunk/testset/tags.manpages	2004-12-23 22:29:51 UTC (rev 388)
+++ trunk/testset/tags.manpages	2004-12-23 23:15:53 UTC (rev 389)
@@ -1,4 +1,3 @@
-W: manpages: manpage-section-mismatch usr/share/man/man1/test.1p.gz:2 1p != 1P
 E: manpages: bad-link-to-undocumented-manpage usr/share/man/man1/sbin-binary.1.gz
 E: manpages: empty-manual-page usr/X11R6/man/man1/rstartd.1x.gz
 E: manpages: empty-manual-page usr/X11R6/man/man6/X11R6-binary.man
@@ -16,8 +15,9 @@
 E: manpages: no-copyright-file
 E: manpages: x11-games-should-be-in-usr-games usr/X11R6/man/man6/X11R6-binary.man
 W: manpages source: ancient-standards-version 3.2.1
+W: manpages source: binary-nmu-debian-revision-in-source 4-0.0.1
 W: manpages source: changelog-should-mention-nmu
-W: manpages source: source-nmu-has-incorrect-version-number 3
+W: manpages source: source-nmu-has-incorrect-version-number 4-0.0.1
 W: manpages: executable-not-elf-or-script ./usr/bin/usr-bin-binary-alt
 W: manpages: executable-not-elf-or-script ./usr/sbin/usr-sbin-binary
 W: manpages: link-to-undocumented-manpage usr/share/man/man1/bin-binary.1.gz
@@ -28,7 +28,6 @@
 W: manpages: manpage-has-bad-whatis-entry usr/share/man/man1/usr-bin-binary.1
 W: manpages: manpage-has-bad-whatis-entry usr/share/man/man1/usr-sbin-binary.1.gz
 W: manpages: manpage-has-bad-whatis-entry usr/share/man/man6/usr-games-binary.6.gz
-W: manpages: manpage-section-mismatch usr/share/man/man1/test.1p.gz:2 1p != 1
 W: manpages: package-contains-hardlink usr/share/man/man1/usr-bin-binary-alt.1.gz
 W: manpages: packages-installs-file-to-usr-x11r6 usr/X11R6/
 W: manpages: packages-installs-file-to-usr-x11r6 usr/X11R6/bin/



Reply to: