From d66253421b1d5c57483042cee0bc813768f76adb Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Wed, 26 Oct 2022 22:44:50 -0500 Subject: [PATCH] Remove unnecessary -n for subpackage definitions --- ansible-core.spec | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/ansible-core.spec b/ansible-core.spec index 83dce18..b8d01d4 100644 --- a/ansible-core.spec +++ b/ansible-core.spec @@ -94,18 +94,12 @@ are transferred to managed machines automatically.} This is the base part of ansible (the engine). -%package -n ansible-core-doc +%package doc Summary: Documentation for Ansible Core Provides: ansible-base-doc = %{version}-%{release} Obsoletes: ansible-base-doc < 2.10.6-1 -%description -n ansible-core-doc - -Ansible is a radically simple model-driven configuration management, -multi-node deployment, and remote task execution system. Ansible works -over SSH and does not require any software or daemons to be installed -on remote nodes. Extension modules can be written in any language and -are transferred to managed machines automatically. +%description doc %_description This package installs extensive documentation for ansible-core @@ -240,7 +234,7 @@ make PYTHON=%{python3} tests-py3 %{python3_sitelib}/*dist-info %{_mandir}/man1/ansible* -%files -n ansible-core-doc +%files doc %doc docs/docsite/rst %if %{with docs} %doc docs/docsite/_build/html