Bug 1192625

Summary: --excludedocs leaves empty directories in /usr/share/doc
Product: [Fedora] Fedora Reporter: David Cantrell <dcantrell>
Component: rpmAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jzeleny, lkardos, novyjindrich, packaging-team-maint, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-20 14:01:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Cantrell 2015-02-13 21:11:52 UTC
Installing a new system and using the --excludedocs option in a kickstart file's %packages section does keep docs off the system.  But it leaves empty directories all through /usr/share/doc.

The --excludedocs option for %packages is passed down to rpm's --excludedocs option.  I am not sure if this is desired behavior as it seems every file marked with %doc in the spec files was removed, but I would also expect the empty directories to be removed as well.  Especially given that rpm created that tree in the first place for the files marked with %doc