From 11500e627d84f5cdd145520b4906b5d76373cbe7 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: May 04 2022 19:07:48 +0000 Subject: Use %rhel macro instead of %el9 and %centos RHEL, CentOS and ELN are all guaranteed to implement this macro for the appropriate version. Signed-off-by: Stephen Gallagher --- diff --git a/python-adal.spec b/python-adal.spec index c7ef071..2051330 100644 --- a/python-adal.spec +++ b/python-adal.spec @@ -1,5 +1,5 @@ # Enable tests everywhere except EPEL 9, where python-httpretty is not backported. -%if 0%{?el9} || 0%{?centos} >= 9 +%if 0%{?rhel} >= 9 %bcond_with tests %else %bcond_without tests