[debhelper-devel] [debhelper] 01/01: dh_shlibdeps: Disable unused file(1) tests
Niels Thykier
nthykier at moszumanska.debian.org
Thu Sep 14 18:43:58 UTC 2017
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository debhelper.
commit 82926e603385057c20456408d2dbe7796040a180
Author: Niels Thykier <niels at thykier.net>
Date: Thu Sep 14 18:32:18 2017 +0000
dh_shlibdeps: Disable unused file(1) tests
Signed-off-by: Niels Thykier <niels at thykier.net>
---
debian/changelog | 1 +
dh_shlibdeps | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 9595e57..da42bd0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ debhelper (10.9) UNRELEASED; urgency=medium
* dh_fixperms: Reset permissions of .scss and .sass files to
0644. Thanks to Jonas Smedegaard for the suggestion.
(Closes: #875586)
+ * dh_shlibdeps: Disable unused file(1) tests.
-- Niels Thykier <niels at thykier.net> Sat, 09 Sep 2017 15:32:22 +0000
diff --git a/dh_shlibdeps b/dh_shlibdeps
index 8e7c234..eb549fe 100755
--- a/dh_shlibdeps
+++ b/dh_shlibdeps
@@ -125,7 +125,8 @@ on_pkgs_in_parallel {
next if $file=~m!^\Q$tmp\E/usr/lib/debug/(lib|lib64|usr|bin|sbin|opt|dev|emul|\.build-id)/!;
# TODO this is slow, optimize. Ie, file can run once on
# multiple files..
- $ff=qx_cmd('file', $file);
+ $ff = qx_cmd('file', '-e', 'apptype', '-e', 'ascii', '-e', 'encoding',
+ '-e', 'cdf', '-e', 'compress', '-e', 'tar', $file);
if ($ff=~m/ELF/ && $ff!~/statically linked/) {
push @filelist,$file;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git
More information about the debhelper-devel
mailing list