From 76cc4a6e18abf1f1aaaf5a924a0ebf6d37f326bd Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Thu, 13 Jan 2022 20:22:49 -0500 Subject: [PATCH] Only set conflicts on anything not RHEL 9+ --- ansible-packaging.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible-packaging.spec b/ansible-packaging.spec index 77b2966..efe1a75 100644 --- a/ansible-packaging.spec +++ b/ansible-packaging.spec @@ -13,7 +13,9 @@ Source3: COPYING Requires: ansible-core # Conflict with anything providing its own copies of these files +%if ! (0%{?rhel} >= 9) Conflicts: ansible-core < 2.12.1-3 +%endif Conflicts: ansible <= 2.9.99 BuildArch: noarch