Use a newer and more understandable %bcond syntax

This commit is contained in:
Miro Hrončok 2023-10-10 13:57:53 +02:00
parent b3699e5810
commit 92130db632

View File

@ -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 # When bootstrapping Python, we cannot test this yet
%bcond_without tests # RHEL does not include the test dependencies
%endif %bcond tests %{undefined rhel}
Name: python-requests Name: python-requests
Version: 2.28.2 Version: 2.28.2