!22 [sync] PR-21: Do not package test files
From: @openeuler-sync-bot Reviewed-by: @jxy_git Signed-off-by: @jxy_git
This commit is contained in:
commit
67d7b1e207
@ -2,7 +2,7 @@
|
||||
%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
|
||||
@ -17,7 +17,7 @@ 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}
|
||||
%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)
|
||||
@ -48,13 +48,14 @@ 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
|
||||
%exclude %{python3_sitelib}/test/__pycache__/__init__.cpython-310.opt-1.pyc
|
||||
%exclude %{python3_sitelib}/test/__pycache__/__init__.cpython-310.pyc
|
||||
%exclude %{python3_sitelib}/test/
|
||||
|
||||
%changelog
|
||||
* Mon Aug 28 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 1.4.6-3
|
||||
- Do not package test files
|
||||
|
||||
* Tue Feb 28 2023 wulei <wulei80@h-partners.com> - 1.4.6-2
|
||||
- Remove reduncency cache file
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user