]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
docbook-utils: Drop HTML documentation
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 18 Mar 2023 08:50:57 +0000 (09:50 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 21 Mar 2023 18:25:39 +0000 (18:25 +0000)
We do not need this on our systems - Anyway it has been
installed to a wrong place by default.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
docbook-utils/docbook-utils.nm

index 9790d5ac1667a246f0a3e78a2f925a82e0e7e171..b97c93ba81c08d2285d4ba83f001adbc65e28551 100644 (file)
@@ -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