lintian: r541 - in trunk: checks debian
Author: djpig
Date: 2006-01-19 14:16:38 +0100 (Thu, 19 Jan 2006)
New Revision: 541
Modified:
trunk/checks/scripts
trunk/checks/scripts.desc
trunk/debian/changelog
Log:
dpkg --print-installation-architecture is deprecated
so delete dpkg-print-architecture-in-maintainer-script
Modified: trunk/checks/scripts
===================================================================
--- trunk/checks/scripts 2006-01-19 13:10:30 UTC (rev 540)
+++ trunk/checks/scripts 2006-01-19 13:16:38 UTC (rev 541)
@@ -425,9 +425,6 @@
unless $warned_killall;
$warned_killall = 1;
}
- if (m/^\s*dpkg\s+--print-architecture\b/) {
- tag "dpkg-print-architecture-in-maintainer-script", "$file:$.";
- }
if (m/^\s*mknod(?:\s|$)/ and not m/\sp\s/) {
tag "mknod-in-maintainer-script", "$file:$.";
}
Modified: trunk/checks/scripts.desc
===================================================================
--- trunk/checks/scripts.desc 2006-01-19 13:10:30 UTC (rev 540)
+++ trunk/checks/scripts.desc 2006-01-19 13:16:38 UTC (rev 541)
@@ -216,16 +216,6 @@
processes. Most uses of <tt>killall</tt> should use
<tt>start-stop-daemon</tt> instead.
-Tag: dpkg-print-architecture-in-maintainer-script
-Type: warning
-Info: The maintainer script seems to call "<tt>dpkg --print-architecture</tt>".
- This invokes <tt>gcc</tt>, and returns the <em>build</em> architecture
- (which may not be the installation architecture if the system is configured
- for cross-compiling).
- .
- The script should probably use "<tt>dpkg --print-installation-architecture</tt>"
- instead.
-
Tag: mknod-in-maintainer-script
Type: error
Ref: policy 10.6
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2006-01-19 13:10:30 UTC (rev 540)
+++ trunk/debian/changelog 2006-01-19 13:16:38 UTC (rev 541)
@@ -36,6 +36,8 @@
* checks/scripts:
+ [FL] Make mknod-in-maintainer-script an error since this is now
a must in policy. Pointed out by Bartosz Fenski (Closes: #344928)
+ + [FL] dpkg --print-installation-architecture is deprecated
+ so delete dpkg-print-architecture-in-maintainer-script
-- Frank Lichtenheld <djpig@debian.org> Wed, 4 Jan 2006 16:02:50 +0100
Reply to: