From aafb03e83af45fc725d57736019cec36b352f34e Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Fri, 27 Oct 2023 14:42:52 +0200 Subject: [build] Actually indicate this requires packaging MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- sos.spec | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sos.spec') 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 -- cgit