From 2c219d7bf69149eb632df7d91e93c39d412e6156 Mon Sep 17 00:00:00 2001 From: jxy_git Date: Wed, 11 May 2022 09:57:20 +0800 Subject: [PATCH] Change require from ansible-2.9 to ansible --- python-ansible-runner.spec | 11 +++++++---- python-ansible-runner.yaml | 4 ++++ 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 python-ansible-runner.yaml diff --git a/python-ansible-runner.spec b/python-ansible-runner.spec index ddc8666..2eb9d67 100644 --- a/python-ansible-runner.spec +++ b/python-ansible-runner.spec @@ -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 - 1.4.6-3 +- Change require from ansible-2.9 to ansible + * Wed Sep 22 2021 wulei - 1.4.6-2 - Change require from ansible to ansible-2.9 diff --git a/python-ansible-runner.yaml b/python-ansible-runner.yaml new file mode 100644 index 0000000..105cf76 --- /dev/null +++ b/python-ansible-runner.yaml @@ -0,0 +1,4 @@ +version_control: pypi +src_repo: ansible-runner +tag_prefix: ^v +separator: "." -- Gitee