[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 <a.badger@gmail.com>
pull/64295/head
Toshio Kuratomi 5 years ago
parent 30bbbdbe33
commit 284be7456c

@ -283,6 +283,7 @@ ln -s /usr/bin/pytest-3 bin/pytest
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/ansible* %{_bindir}/ansible*
%exclude %{_bindir}/ansible-test
%config(noreplace) %{_sysconfdir}/ansible/ %config(noreplace) %{_sysconfdir}/ansible/
%doc README.rst PKG-INFO COPYING changelogs/CHANGELOG*.rst %doc README.rst PKG-INFO COPYING changelogs/CHANGELOG*.rst
%doc %{_mandir}/man1/ansible* %doc %{_mandir}/man1/ansible*

Loading…
Cancel
Save