Red Hat Bugzilla – Bug 247374
files in %exclude'd dirs are included into the calculated size
Last modified: 2009-01-07 04:21:18 EST
Description of problem:
When you %exclude entire directories from %files, then the files in these dirs
are still included in the size calculation.
For a simple reproduction case.
The files in the rpm are 21,388,976 bytes all together, however
the size field in the rpm says: 27785579 bytes
Notice that there are real life packages (ogre for one) which being bitten by
Yep. Paul's patch for %exclude handles files, not directories.
User email@example.com's account has been closed
Reassigning to owner after bugzilla made a mess, sorry about the noise...
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
Fixed in rawhide as of rpm 4.6.0-rc2, F10 will get it as an update too.
rpm-4.6.0-0.rc3.1.fc10 has been submitted as an update for Fedora 10.
rpm-4.6.0-0.rc3.1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.