RPM

Comment 5 for bug 634100

Revision history for this message
In , Jeff (jeff-redhat-bugs) wrote :

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.