From d4511c9b8c4e18d5ffe5a1d32daabd893ee88a81 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 15 Sep 2022 09:15:01 -0400 Subject: [PATCH] Simplify manpage packaging Signed-off-by: Stephen Gallagher --- nodejs.spec | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/nodejs.spec b/nodejs.spec index 65f1ce6..052a3bf 100644 --- a/nodejs.spec +++ b/nodejs.spec @@ -691,27 +691,10 @@ end %config(noreplace) %{_sysconfdir}/npmrc %{_prefix}/etc/npmrc %ghost %{_sysconfdir}/npmignore -%doc %{_mandir}/man1/npm*.1* -%doc %{_mandir}/man1/npx.1* -%doc %{_mandir}/man5/folders.5* -%doc %{_mandir}/man5/install.5* -%doc %{_mandir}/man5/npmrc.5* -%doc %{_mandir}/man5/npm-shrinkwrap-json.5* -%doc %{_mandir}/man5/package-json.5* -%doc %{_mandir}/man5/package-lock-json.5* -%doc %{_mandir}/man7/config.7* -%doc %{_mandir}/man7/developers.7* -%doc %{_mandir}/man7/orgs.7* -%doc %{_mandir}/man7/logging.7* -%doc %{_mandir}/man7/package-spec.7* -%doc %{_mandir}/man7/registry.7* -%doc %{_mandir}/man7/removal.7* -%doc %{_mandir}/man7/scope.7* -%doc %{_mandir}/man7/scripts.7* -%doc %{_mandir}/man7/workspaces.7* +%doc %{_mandir}/man*/ +%exclude %doc %{_mandir}/man1/node.1* %endif - %files docs %doc doc %dir %{_pkgdocdir}