From da123824add79474bfee2aa3b982b7a423e7b8d7 Mon Sep 17 00:00:00 2001 From: jxy_git Date: Mon, 28 Aug 2023 10:52:08 +0800 Subject: [PATCH] Do not package test files (cherry picked from commit af86106723b8b46537029a3cafcfae48f61630fa) --- python-ansible-runner.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/python-ansible-runner.spec b/python-ansible-runner.spec index 0d58eae..5f073e9 100644 --- a/python-ansible-runner.spec +++ b/python-ansible-runner.spec @@ -2,7 +2,7 @@ %global pypi_name ansible-runner Name: python-%{pypi_name} Version: 1.4.6 -Release: 2 +Release: 3 Summary: A tool and python library to interface with Ansible License: ASL 2.0 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 standalone tool, or imported into a python project. -%package -n python3-%{pypi_name} +%package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} 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-%{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 +%exclude %{python3_sitelib}/test/ %changelog +* Mon Aug 28 2023 jiangxinyu - 1.4.6-3 +- Do not package test files + * Tue Feb 28 2023 wulei - 1.4.6-2 - Remove reduncency cache file -- Gitee