!8 修改ansible依赖版本,解决安装问题

From: @wu-leilei
Reviewed-by: @jxy_git
Signed-off-by: @jxy_git
This commit is contained in:
openeuler-ci-bot 2021-09-22 06:12:00 +00:00 committed by Gitee
commit 27e055da96

View File

@ -2,7 +2,7 @@
%global pypi_name ansible-runner
Name: python-%{pypi_name}
Version: 1.4.6
Release: 1
Release: 2
Summary: A tool and python library to interface with Ansible
License: ASL 2.0
URL: https://github.com/ansible/ansible-runner
@ -20,7 +20,7 @@ standalone tool, or imported into a python project.
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
Requires: ansible >= 2.6 python3-daemon python3dist(pexpect) >= 4.6 python3dist(psutil)
Requires: ansible-2.9 >= 2.6 python3-daemon python3dist(pexpect) >= 4.6 python3dist(psutil)
Requires: python3dist(pyyaml) python3dist(setuptools) python3dist(six)
%description -n python3-%{pypi_name}
Ansible Runner is a tool and python library that helps when interfacing with
@ -53,5 +53,8 @@ py.test-3 -v test
%{_bindir}/ansible-runner
%changelog
* Wed Sep 22 2021 wulei <wulei80@huawei.com> - 1.4.6-2
- Change require from ansible to ansible-2.9
* Fri Sep 17 2021 wulei <wulei80@huawei.com> - 1.4.6-1
- package init