summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-20 11:55:29 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-20 11:55:29 +0000
commit91531de3590f44b6ce4a1d9f71ae98cd63b33555 (patch)
tree070c288b3a0134f59320fbafc4abed65595c0090
parent1eb4ed68231d2237d5938dd48ee0033dc8a7e94f (diff)
automatic import of ansible-core
-rw-r--r--ansible-core.spec12
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