diff --git a/python-azure-appconfiguration.spec b/python-azure-appconfiguration.spec index f3b0e1d..92550c0 100644 --- a/python-azure-appconfiguration.spec +++ b/python-azure-appconfiguration.spec @@ -1,4 +1,9 @@ -%bcond_without tests +# Enable tests everywhere except EPEL 9, where python-httpretty is not backported. +%if 0%{?el9} || 0%{?centos} >= 9 +%bcond_with tests +%else +%bcond_without tests +%endif %global srcname azure-appconfiguration