diff options
-rw-r--r-- | ansible-core.spec | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/ansible-core.spec b/ansible-core.spec index 4134c6b..f9fcbe8 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 @@ -31,8 +39,8 @@ Requires: python3-jinja2 >= 3.0.0 Requires: python3-pyyaml >= 5.1 Requires: python3-cryptography Requires: python3-packaging -BuildRequires: python3-resolvelib < 1.1.0 -BuildRequires: python3-resolvelib >= 0.5.3 +Requires: python3-resolvelib < 1.1.0 +Requires: python3-resolvelib >= 0.5.3 |