On 20 November 2014 09:54, Alexander Todorov <atodorov(a)redhat.com> wrote:
I was looking into bug #1114586 and it reveals a significant number
(400+) of RPM
packages which leave empty directories under /usr/share/doc
when installed with --excludedocs.
I've looked at a few of them and they had either
in their spec files.
The ones which don't leave behind empty directories specify only the
documentation files, not the name-version directories as part of the file
In my test all 400+ directories under /usr/share/doc are empty, no files
Obviously we don't need these directories either. It is very
likely people who use --excludedocs will complain about these empty
directories as well.
The Packaging Guide doesn't say anything about these name-version
whether they should be specified in the spec file or only the
indivisual files specified. I'd like to hear your opinion on this packaging
situation before I go ahead and file hundreds of bugs into Bugzilla.
Any remaining versioned doc dirs are bugs, as far as I am concerned.
See this change from Fedora 20: