aboutsummaryrefslogtreecommitdiffstats
path: root/sos.spec
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2022-09-12 15:30:16 +0200
committerJake Hunsaker <jhunsake@redhat.com>2022-09-21 09:59:23 -0400
commit4245de0b978a4d28bb8c833c2f2f5a15a260bd22 (patch)
tree8a760eb73bc4fc03a1982dc5f923d48ab4e32f42 /sos.spec
parent765f5f283bdb4747b0069f2f5d3381134b4b9a95 (diff)
downloadsos-4245de0b978a4d28bb8c833c2f2f5a15a260bd22.tar.gz
[utilities] Relax from hard dependency of python3-magic
For compatibility reasons on some distros, sos should not have a hard dependency on 'magic' python library. It should attempt to use it for detection of binary file content, but should fall back to previous "read the very first byte" method otherwise. Resolves: #3025 Relates: #3021 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
Diffstat (limited to 'sos.spec')
-rw-r--r--sos.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos.spec b/sos.spec
index 748b9fd5..08499816 100644
--- a/sos.spec
+++ b/sos.spec
@@ -16,7 +16,7 @@ Requires: python3-rpm
Requires: tar
Requires: xz
Requires: python3-pexpect
-Requires: python3-magic
+Recommends: python3-magic
Recommends: python3-pyyaml
Obsoletes: sos-collector <= 1.9