Do not package test files
(cherry picked from commit af86106723b8b46537029a3cafcfae48f61630fa)
This commit is contained in:
parent
03bf6635a3
commit
da123824ad
@ -2,7 +2,7 @@
|
|||||||
%global pypi_name ansible-runner
|
%global pypi_name ansible-runner
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 1.4.6
|
Version: 1.4.6
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: A tool and python library to interface with Ansible
|
Summary: A tool and python library to interface with Ansible
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://github.com/ansible/ansible-runner
|
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
|
Ansible from other systems whether through a container image interface, as a
|
||||||
standalone tool, or imported into a python project.
|
standalone tool, or imported into a python project.
|
||||||
|
|
||||||
%package -n python3-%{pypi_name}
|
%package -n python3-%{pypi_name}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||||
Requires: ansible >= 2.6 python3-daemon python3dist(pexpect) >= 4.6 python3dist(psutil)
|
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-3
|
||||||
%{_bindir}/ansible-runner-%{python3_version}
|
%{_bindir}/ansible-runner-%{python3_version}
|
||||||
%{python3_sitelib}/ansible_runner
|
%{python3_sitelib}/ansible_runner
|
||||||
%{python3_sitelib}/test
|
|
||||||
%{python3_sitelib}/ansible_runner-%{version}-py%{python3_version}.egg-info
|
%{python3_sitelib}/ansible_runner-%{version}-py%{python3_version}.egg-info
|
||||||
%{_bindir}/ansible-runner
|
%{_bindir}/ansible-runner
|
||||||
%exclude %{python3_sitelib}/test/__pycache__/__init__.cpython-310.opt-1.pyc
|
%exclude %{python3_sitelib}/test/
|
||||||
%exclude %{python3_sitelib}/test/__pycache__/__init__.cpython-310.pyc
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Feb 28 2023 wulei <wulei80@h-partners.com> - 1.4.6-2
|
||||||
- Remove reduncency cache file
|
- Remove reduncency cache file
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user