From fd822b6beff457553ad9d47c37e5e5e29e82a9e7 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Fri, 17 Nov 2023 17:19:51 +0100 Subject: [PATCH] Apply options to different OS versions, oops [skip changelog] Signed-off-by: Nils Philippsen --- python-rpmautospec-core.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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