From 92130db6320a9758f42e032461a115ab630100aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 10 Oct 2023 13:57:53 +0200 Subject: [PATCH] Use a newer and more understandable %bcond syntax --- python-requests.spec | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/python-requests.spec b/python-requests.spec index 5b816d6..e1448c0 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -1,11 +1,6 @@ -%if 0%{?rhel} -# RHEL does not include the test dependencies -%bcond_with tests -%else # When bootstrapping Python, we cannot test this yet -%bcond_without tests -%endif - +# RHEL does not include the test dependencies +%bcond tests %{undefined rhel} Name: python-requests Version: 2.28.2