From 33c6acc50afbaa7b8acc6e7165f888981a75966f Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Fri, 19 May 2023 01:30:30 -0400 Subject: [PATCH] Disable tests by default in RHEL builds RHEL does not include the test dependencies. --- python-fasteners.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python-fasteners.spec b/python-fasteners.spec index d1b3118..e672786 100644 --- a/python-fasteners.spec +++ b/python-fasteners.spec @@ -1,4 +1,8 @@ +%if 0%{?rhel} +%bcond_with tests +%else %bcond_without tests +%endif # The python-diskcache package, used in some of the tests, has been retired. %bcond_with diskcache