aboutsummaryrefslogtreecommitdiffstats
path: root/sos.spec
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2022-03-30 12:51:06 -0400
committerJake Hunsaker <jhunsake@redhat.com>2022-04-12 13:53:32 -0400
commit0689d8b3e10e969b7fed0af9ac906222858e4fb9 (patch)
tree6c5b86db1582961ab479b3505b82c81c58d956a6 /sos.spec
parentd64988edd297a555a8482f98d7bd5b411fa582cd (diff)
downloadsos-0689d8b3e10e969b7fed0af9ac906222858e4fb9.tar.gz
[utilities] Better detect binary files with python3-magic
Adds a new `file_is_binary()` method to `sos.utilities` to serve as a single point to determine if a file is binary or not, relying on the python3-magic module. Closes: #2839 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'sos.spec')
-rw-r--r--sos.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos.spec b/sos.spec
index c815ce50..02a97e43 100644
--- a/sos.spec
+++ b/sos.spec
@@ -16,6 +16,7 @@ Requires: python3-rpm
Requires: tar
Requires: xz
Requires: python3-pexpect
+Requires: python3-magic
Obsoletes: sos-collector <= 1.9
%description