Bug 1192625 - --excludedocs leaves empty directories in /usr/share/doc
Summary: --excludedocs leaves empty directories in /usr/share/doc
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-13 21:11 UTC by David Cantrell
Modified: 2015-03-20 14:01 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-20 14:01:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.