Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
8a636e722a
!19 Remove the test directory when packaging
From: @jxy_git 
Reviewed-by: @wm-wm-wm 
Signed-off-by: @wm-wm-wm
2023-05-30 07:02:51 +00:00
jxy_git
9b2acac986 Remove the test directory when packaging 2023-05-30 14:42:35 +08:00
openeuler-ci-bot
e763b6a310
!17 Remove reduncency cache file
From: @jxy_git 
Reviewed-by: @wm-wm-wm 
Signed-off-by: @wm-wm-wm
2023-05-24 07:16:20 +00:00
jxy_git
54b8c4ccea Remove reduncency cache file 2023-05-24 14:54:12 +08:00
openeuler-ci-bot
99e00d622d
!13 [sync] PR-12: Change require from ansible-2.9 to ansible
From: @openeuler-sync-bot 
Reviewed-by: @wm-wm-wm 
Signed-off-by: @wm-wm-wm
2022-06-06 08:23:39 +00:00
jxy_git
f7ad7a3c64 Change require from ansible-2.9 to ansible
(cherry picked from commit 2c219d7bf69149eb632df7d91e93c39d412e6156)
2022-05-19 15:26:11 +08:00
openeuler-ci-bot
27e055da96 !8 修改ansible依赖版本,解决安装问题
From: @wu-leilei
Reviewed-by: @jxy_git
Signed-off-by: @jxy_git
2021-09-22 06:12:00 +00:00
wu-leilei
ad64abd672 Change require from ansible to ansible-2.9 2021-09-22 11:49:16 +08:00
openeuler-ci-bot
83c17e1993 !5 package init
From: @wu-leilei
Reviewed-by: 
Signed-off-by:
2021-09-18 04:56:44 +00:00
wu-leilei
9bede17cbb package init 2021-09-17 10:18:14 +08:00
3 changed files with 73 additions and 0 deletions

BIN
ansible-runner-1.4.6.tar.gz Normal file

Binary file not shown.

View File

@ -0,0 +1,69 @@
%define _unpackaged_files_terminate_build 0
%{?python_enable_dependency_generator}
%global pypi_name ansible-runner
Name: python-%{pypi_name}
Version: 1.4.6
Release: 5
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.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)
%description
Ansible Runner is a tool and python library that helps when interfacing with
Ansible from other systems whether through a container image interface, as a
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: python3dist(pyyaml) python3dist(setuptools) python3dist(six)
%description -n python3-%{pypi_name}
Ansible Runner is a tool and python library that helps when interfacing with
Ansible from other systems whether through a container image interface, as a
standalone tool, or imported into a python project.
%prep
%autosetup -n %{pypi_name}-%{version}
rm -rf %{pypi_name}.egg-info
%build
%py3_build
%install
%py3_install
cp %{buildroot}/%{_bindir}/ansible-runner %{buildroot}/%{_bindir}/ansible-runner-%{python3_version}
ln -s %{_bindir}/ansible-runner-%{python3_version} %{buildroot}/%{_bindir}/ansible-runner-3
%check
py.test-3 -v test
%files -n python3-%{pypi_name}
%license LICENSE.md
%doc README.md
%{_bindir}/ansible-runner-3
%{_bindir}/ansible-runner-%{python3_version}
%{python3_sitelib}/ansible_runner
%{python3_sitelib}/ansible_runner-%{version}-py%{python3_version}.egg-info
%{_bindir}/ansible-runner
%changelog
* Tue May 30 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 1.4.6-5
- Remove the test directory when packaging
* Wed May 24 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 1.4.6-4
- Remove reduncency cache file
* 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
* Fri Sep 17 2021 wulei <wulei80@huawei.com> - 1.4.6-1
- package init

View File

@ -0,0 +1,4 @@
version_control: pypi
src_repo: ansible-runner
tag_prefix: ^v
separator: "."