Do not package test files

(cherry picked from commit af86106723b8b46537029a3cafcfae48f61630fa)
This commit is contained in:
jxy_git 2023-08-28 10:52:08 +08:00 committed by openeuler-sync-bot
parent 03bf6635a3
commit da123824ad

View File

@ -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
@ -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