This issue depends on whether a directory can/should have the attribute %doc.
The current
implementation of file attributes in rpm forbids directories to have either %doc
or %config
attributes because directories may contain files other than documentation (and
so should not
be excluded with --excludedocs). Identifying whether a directory has contents
other than
documentation is non-local and expensive (read: it's not just a single bit
test).
I've marked the code, but I don't believe that the implementation is justified
at this time.
This issue depends on whether a directory can/should have the attribute %doc.
The current
implementation of file attributes in rpm forbids directories to have either %doc
or %config
attributes because directories may contain files other than documentation (and
so should not
be excluded with --excludedocs). Identifying whether a directory has contents
other than
documentation is non-local and expensive (read: it's not just a single bit
test).
I've marked the code, but I don't believe that the implementation is justified
at this time.