aboutsummaryrefslogtreecommitdiffstats
path: root/sos.spec
diff options
context:
space:
mode:
authorMiro Hrončok <miro@hroncok.cz>2023-10-27 14:42:52 +0200
committerJake Hunsaker <jacob.r.hunsaker@gmail.com>2023-10-28 13:43:47 -0700
commitaafb03e83af45fc725d57736019cec36b352f34e (patch)
treee8185386e336938a5c63ada18db15f6bc191890c /sos.spec
parentf2261a493162f7499cc1758039f8bbf48e20906f (diff)
downloadsos-aafb03e83af45fc725d57736019cec36b352f34e.tar.gz
[build] Actually indicate this requires packaging
This is a followup for 56904018045fdbdad666e55f0a850bc365809e50 I hereby declare that you can do whatever you want with this commit: Signed-off-by: Miro Hrončok <miro@hroncok.cz>
Diffstat (limited to 'sos.spec')
-rw-r--r--sos.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/sos.spec b/sos.spec
index 3cf24502..b575b523 100644
--- a/sos.spec
+++ b/sos.spec
@@ -10,7 +10,11 @@ BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3-rpm
Requires: python3-pexpect
+%if 0%{?rhel} && 0%{?rhel} < 10
Requires: python3-setuptools
+%else
+Requires: python3-packaging
+%endif
Recommends: python3-magic
# Mandatory just for uploading to a SFTP server:
Recommends: python3-requests