From 6887c6aedd329a448fcf61f82f118f84652c3c3d Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 6 Jul 2023 21:35:07 -0400 Subject: [PATCH] Use new (rpm 4.17.1+) bcond style --- python-fasteners.spec | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/python-fasteners.spec b/python-fasteners.spec index f90d7ad..57bd714 100644 --- a/python-fasteners.spec +++ b/python-fasteners.spec @@ -1,11 +1,6 @@ -%if 0%{?rhel} -%bcond_with tests -%else -%bcond_without tests -%endif - +%bcond tests 0%{?!rhel:1} # The python-diskcache package, used in some of the tests, has been retired. -%bcond_with diskcache +%bcond diskcache 0 Name: python-fasteners Version: 0.18