From 54b8c4ccea4a4fd369f38cd940fccf9c5338328f Mon Sep 17 00:00:00 2001 From: jxy_git Date: Wed, 24 May 2023 14:54:12 +0800 Subject: [PATCH] Remove reduncency cache file --- python-ansible-runner.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/python-ansible-runner.spec b/python-ansible-runner.spec index 2eb9d67..4c553ba 100644 --- a/python-ansible-runner.spec +++ b/python-ansible-runner.spec @@ -1,9 +1,8 @@ -%define _unpackaged_files_terminate_build 0 %{?python_enable_dependency_generator} %global pypi_name ansible-runner Name: python-%{pypi_name} Version: 1.4.6 -Release: 3 +Release: 4 Summary: A tool and python library to interface with Ansible License: ASL 2.0 URL: https://github.com/ansible/ansible-runner @@ -49,10 +48,16 @@ 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 +* Wed May 24 2023 jiangxinyu - 1.4.6-4 +- Remove reduncency cache file + * Wed May 11 2022 jiangxinyu - 1.4.6-3 - Change require from ansible-2.9 to ansible -- Gitee