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

lintian: r1277 - in trunk: checks debian



Author: rra
Date: 2008-04-22 00:15:42 +0200 (Tue, 22 Apr 2008)
New Revision: 1277

Modified:
   trunk/checks/nmu
   trunk/checks/nmu.desc
   trunk/debian/changelog
Log:
* checks/nmu{.desc,}:
  + [RA] Add support for +nmuX versioning for NMUs of native packages.
    Patch from James Vega.  (Closes: #475026)

Modified: trunk/checks/nmu
===================================================================
--- trunk/checks/nmu	2008-04-21 22:12:59 UTC (rev 1276)
+++ trunk/checks/nmu	2008-04-21 22:15:42 UTC (rev 1277)
@@ -67,6 +67,9 @@
 	$version_nmuness = 1 if defined $1;
 	$version_nmuness = 2 if defined $2;
 }
+if ($version =~ /\+nmu\d+$/) {
+	$version_nmuness = 1;
+}
 if ($version =~ /\+b\d+$/) {
 	$version_nmuness = 2;
 }

Modified: trunk/checks/nmu.desc
===================================================================
--- trunk/checks/nmu.desc	2008-04-21 22:12:59 UTC (rev 1276)
+++ trunk/checks/nmu.desc	2008-04-21 22:15:42 UTC (rev 1277)
@@ -19,8 +19,9 @@
 
 Tag: source-nmu-has-incorrect-version-number
 Type: warning
-Info: A source NMU should have a Debian revision of "-x.x". This is to prevent
- stealing version numbers from the maintainer.
+Info: A source NMU should have a Debian revision of "-x.x" (or "+nmuX" for a
+ native package). This is to prevent stealing version numbers from the
+ maintainer.
  .
  Maybe you didn't intend this upload to be a NMU, in that case, please
  doublecheck that the most recent entry in the changelog is byte-for-byte

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-04-21 22:12:59 UTC (rev 1276)
+++ trunk/debian/changelog	2008-04-21 22:15:42 UTC (rev 1277)
@@ -40,6 +40,9 @@
     + [FL] Don't complain about empty directories under
       /usr/share/python-support since those might be needed.  Thanks,
       Josselin Mouette.  (Closes: #473428)
+  * checks/nmu{.desc,}:
+    + [RA] Add support for +nmuX versioning for NMUs of native packages.
+      Patch from James Vega.  (Closes: #475026)
   * checks/scripts:
     + [RA] Attempt to quash some Perl warnings.
     + [RA] *.py files in /usr/{lib,share}, /etc/init.d/skeleton, and *.ex


Reply to: