diff --git a/python-rpmautospec-core.spec b/python-rpmautospec-core.spec index 354eeeb..c40d100 100644 --- a/python-rpmautospec-core.spec +++ b/python-rpmautospec-core.spec @@ -1,8 +1,13 @@ +%if %if ! 0%{?rhel} || 0%{?rhel} >= 10 %bcond_without testcoverage -%bcond_with compatbuild %else %bcond_with testcoverage +%endif + +%if ! 0%{?rhel} || 0%{?rhel} >= 9 +%bcond_with compatbuild +%else %bcond_without compatbuild %endif