Change require from ansible-2.9 to ansible
(cherry picked from commit 2c219d7bf69149eb632df7d91e93c39d412e6156)
This commit is contained in:
parent
27e055da96
commit
f7ad7a3c64
@ -1,14 +1,15 @@
|
||||
%define _unpackaged_files_terminate_build 0
|
||||
%{?python_enable_dependency_generator}
|
||||
%global pypi_name ansible-runner
|
||||
Name: python-%{pypi_name}
|
||||
Version: 1.4.6
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: A tool and python library to interface with Ansible
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/ansible/ansible-runner
|
||||
Source0: https://files.pythonhosted.org/packages/source/a/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: ansible-2.9 >= 2.6
|
||||
BuildRequires: ansible >= 2.6
|
||||
BuildRequires: python3-devel python3dist(mock) python3dist(psutil) python3dist(pexpect) >= 4.6
|
||||
BuildRequires: python3dist(pytest) python3dist(pyyaml) python3dist(setuptools)
|
||||
BuildRequires: python3dist(six) python3dist(python-daemon)
|
||||
@ -20,7 +21,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.9 >= 2.6 python3-daemon python3dist(pexpect) >= 4.6 python3dist(psutil)
|
||||
Requires: ansible >= 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
|
||||
@ -48,11 +49,13 @@ py.test-3 -v test
|
||||
%{_bindir}/ansible-runner-3
|
||||
%{_bindir}/ansible-runner-%{python3_version}
|
||||
%{python3_sitelib}/ansible_runner
|
||||
%{python3_sitelib}/test
|
||||
%{python3_sitelib}/ansible_runner-%{version}-py%{python3_version}.egg-info
|
||||
%{_bindir}/ansible-runner
|
||||
|
||||
%changelog
|
||||
* Wed May 11 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 1.4.6-3
|
||||
- Change require from ansible-2.9 to ansible
|
||||
|
||||
* Wed Sep 22 2021 wulei <wulei80@huawei.com> - 1.4.6-2
|
||||
- Change require from ansible to ansible-2.9
|
||||
|
||||
|
||||
4
python-ansible-runner.yaml
Normal file
4
python-ansible-runner.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: pypi
|
||||
src_repo: ansible-runner
|
||||
tag_prefix: ^v
|
||||
separator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user