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

[SCM] Debian package checker branch, master, updated. 1.24.4-58-g3ee384f



The following commit has been merged in the master branch:
commit 3ee384fcd33aaafc449cca79892f97a4e4b7d6a1
Author: Frank Lichtenheld <djpig@debian.org>
Date:   Sat Aug 23 23:16:32 2008 +0200

    checks/scripts: Be less trigger-happy for maintainer-script-needs-depends-on-*
    
    Change all regular expressions in depends_needed to
    require spaces after the command and not \b. There are
    very few cases where this would produce false negatives
    but there are reported false positives for the current
    expressions.

diff --git a/checks/scripts b/checks/scripts
index e54ec62..101f04b 100644
--- a/checks/scripts
+++ b/checks/scripts
@@ -173,11 +173,11 @@ our $update_inetd
 # reported is maintainer-script-needs-depends-on-%s, so be sure to update
 # scripts.desc when adding a new rule.
 our @depends_needed = (
-	[ adduser	=> '\badduser\b'	   ],
-	[ gconf2	=> '\bgconf-schemas\b'	   ],
-	[ $update_inetd	=> '\bupdate-inetd\b'	   ],
+	[ adduser	=> '\badduser\s'	   ],
+	[ gconf2	=> '\bgconf-schemas\s'	   ],
+	[ $update_inetd	=> '\bupdate-inetd\s'	   ],
 	[ ucf		=> '\bucf\s'		   ],
-	[ 'xml-core'	=> '\bupdate-xmlcatalog\b' ],
+	[ 'xml-core'	=> '\bupdate-xmlcatalog\s' ],
 );
 
 sub run {
diff --git a/debian/changelog b/debian/changelog
index 688760b..36499d0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,13 @@ lintian (1.25.0) unstable; urgency=low
     The default output is unchanged, see the documentation on
     how to utilize the new features.
   
+  * checks/scripts:
+    + [FL] Change all regular expressions in depends_needed to
+      require spaces after the command and not \b. There are
+      very few cases where this would produce false negatives
+      but there are reported false positives for the current
+      expressions.
+  
   * t/runtests:
     + [FL] Copy the changes to testset/runtests from JP's branch.
 

-- 
Debian package checker


Reply to: