Remove the test directory when packaging
This commit is contained in:
parent
e763b6a310
commit
9b2acac986
@ -1,8 +1,9 @@
|
||||
%define _unpackaged_files_terminate_build 0
|
||||
%{?python_enable_dependency_generator}
|
||||
%global pypi_name ansible-runner
|
||||
Name: python-%{pypi_name}
|
||||
Version: 1.4.6
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: A tool and python library to interface with Ansible
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/ansible/ansible-runner
|
||||
@ -48,13 +49,13 @@ 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
|
||||
|
||||
%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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user