From 284be7456c48f5023eff53f1957b0fb1989cea2f Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Fri, 1 Nov 2019 09:14:36 -0700 Subject: [PATCH] [stable-2.9] Exclude the ansible-test script from the main rpm package (#64277) We want the script to live in the ansible-test rpm subpackage alongside of its libraries Fixes #64275 (cherry picked from commit 87de146038) Co-authored-by: Toshio Kuratomi --- packaging/rpm/ansible.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/rpm/ansible.spec b/packaging/rpm/ansible.spec index fb26a3dae2c..3c6b9faf18b 100644 --- a/packaging/rpm/ansible.spec +++ b/packaging/rpm/ansible.spec @@ -283,6 +283,7 @@ ln -s /usr/bin/pytest-3 bin/pytest %files %defattr(-,root,root) %{_bindir}/ansible* +%exclude %{_bindir}/ansible-test %config(noreplace) %{_sysconfdir}/ansible/ %doc README.rst PKG-INFO COPYING changelogs/CHANGELOG*.rst %doc %{_mandir}/man1/ansible*