summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ansible-core.spec8
1 files changed, 8 insertions, 0 deletions
diff --git a/ansible-core.spec b/ansible-core.spec
index 4134c6b..4997740 100644
--- a/ansible-core.spec
+++ b/ansible-core.spec
@@ -12,6 +12,14 @@ BuildArch: noarch
%description
%{common_description}
+Provides: ansible-core = %{version}
+
+# cannot be installed with ansible < 3 or ansible-base
+Conflicts: ansible < 3
+Conflicts: ansible-base
+
+# cannot be installed with ansible-core 2.17.x or higher
+Conflicts: ansible-core >= 2.17
# Base build requires
BuildRequires: python3-devel