[lintian] 01/02: Improve source-is-missing
This is an automated email from the git hooks/post-receive script.
broucaries-guest pushed a commit to branch master
in repository lintian.
commit d36a2dd59d7664c0b92d141bfe8a3b1fd24bc841
Author: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Date: Sat Mar 29 09:45:09 2014 +0100
Improve source-is-missing
Remove static suffix from binary and linux suffix.
Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
---
data/cruft/warn-file-type | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data/cruft/warn-file-type b/data/cruft/warn-file-type
index 48dbe94..23aabd8 100644
--- a/data/cruft/warn-file-type
+++ b/data/cruft/warn-file-type
@@ -6,7 +6,7 @@
#
# File should match both "type regex" and "name regex"
#
-source-contains-prebuilt-binary ~~ \bELF\b ~~ ~~ map { 's/(?i)(?:\.(?:bin|elf|hs|oo?|out|so(?:\.\d+)*))?$/'.$_.'/'} qw(.asm .c .cpp .cxx .f .F .S)
+source-contains-prebuilt-binary ~~ \bELF\b ~~ ~~ map { 's/(?i)(?:[\.-](?:bin|elf|hs|linux\d+|oo?|out|so(?:\.\d+)*)|static)?$/'.$_.'/'} qw(.asm .c .cpp .cxx .f .F .S)
source-contains-prebuilt-flash-object ~~ ^Macromedia \s Flash ~~ ~~ s/(?i)\.swf$/.as/
source-contains-prebuilt-flash-project ~~ ^Composite \s Document \s File ~~ (?i)\.fla$ ~~ s/(?i)\.fla$/.as/
source-contains-prebuilt-java-object ~~ (?: Java [ ] (?:Jar [ ] file|archive [ ] data) | Zip [ ] archive | JAR) ~~ (?i)\.jar$
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: