From 4bf81562d7735a0fc66311182da44731f8a911cf Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sat, 18 Mar 2023 09:50:57 +0100 Subject: [PATCH] docbook-utils: Drop HTML documentation We do not need this on our systems - Anyway it has been installed to a wrong place by default. Signed-off-by: Stefan Schantl --- docbook-utils/docbook-utils.nm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docbook-utils/docbook-utils.nm b/docbook-utils/docbook-utils.nm index 9790d5ac1..b97c93ba8 100644 --- a/docbook-utils/docbook-utils.nm +++ b/docbook-utils/docbook-utils.nm @@ -5,7 +5,7 @@ name = docbook-utils version = 0.6.14 -release = 2 +release = 3 groups = Applications/Text url = http://sources.redhat.com/docbook-tools/ @@ -39,7 +39,12 @@ build configure_options += \ --libdir=%{libdir} \ - --mandir=/usr/share/man + --mandir=%{mandir} + + install_cmds + # Drop unneeded and wrongly installed HTML documentation. + rm -rvf %{BUILDROOT}%{prefix}/doc + end end packages -- 2.39.2