!19 Remove the test directory when packaging
From: @jxy_git Reviewed-by: @wm-wm-wm Signed-off-by: @wm-wm-wm
This commit is contained in:
commit
8a636e722a
@ -1,8 +1,9 @@
|
|||||||
|
%define _unpackaged_files_terminate_build 0
|
||||||
%{?python_enable_dependency_generator}
|
%{?python_enable_dependency_generator}
|
||||||
%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: 4
|
Release: 5
|
||||||
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 +49,13 @@ 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/__pycache__/__init__.cpython-310.pyc
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed May 24 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 1.4.6-4
|
||||||
- Remove reduncency cache file
|
- Remove reduncency cache file
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user