Bug 247374 - files in %exclude'd dirs are included into the calculated size
Summary: files in %exclude'd dirs are included into the calculated size
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-07-08 09:31 UTC by Hans de Goede
Modified: 2009-01-07 09:21 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-11-29 17:54:30 UTC


Attachments (Terms of Use)

Description Hans de Goede 2007-07-08 09:31:41 UTC
Description of problem:
When you %exclude entire directories from %files, then the files in these dirs
are still included in the size calculation.

See: 
http://people.atrpms.net/~hdegoede/stuff.spec
http://people.atrpms.net/~hdegoede/stuff.tar.gz

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
this too.

Comment 1 Jeff Johnson 2007-07-09 00:44:16 UTC
Yep. Paul's patch for %exclude handles files, not directories.

Comment 2 Red Hat Bugzilla 2007-08-21 05:35:06 UTC
User pnasrat@redhat.com's account has been closed

Comment 3 Panu Matilainen 2007-08-22 06:31:39 UTC
Reassigning to owner after bugzilla made a mess, sorry about the noise...

Comment 4 Hans de Goede 2008-04-04 09:43:53 UTC
Erm, ping?


Comment 5 Bug Zapper 2008-05-14 03:04:07 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 6 Panu Matilainen 2008-11-17 11:50:33 UTC
Fixed upstream

Comment 7 Panu Matilainen 2008-11-29 17:54:30 UTC
Fixed in rawhide as of rpm 4.6.0-rc2, F10 will get it as an update too.

Comment 8 Fedora Update System 2008-12-12 19:14:45 UTC
rpm-4.6.0-0.rc3.1.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/rpm-4.6.0-0.rc3.1.fc10

Comment 9 Fedora Update System 2009-01-07 09:20:50 UTC
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.


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