I noticed an anomaly with %{SIZE} for the git rpm on fedora 11 beta. On fedora 8 I can see the size is around the same as the actual usage: $ rpm -q --qf="%{SIZE}\n" git-core 8543647 $ find $(rpm -ql git-core) -maxdepth 0 -type f | xargs du -b | cut -f1 | (tr '\n' +; echo 0) | bc 8717743 However on fedora 11 the %{SIZE} reports 100MB, which the usage is a more reasonable 15MB: $ rpm -q git git-1.6.2.2-1.fc11.i586 $ rpm -q --qf="%{SIZE}\n" git 100428002 $ find $(rpm -ql git) -maxdepth 0 -type f | xargs du -b | cut -f1 | (tr '\n' +; echo 0) | bc 15864614 What am I missing?
I don't know what would cause this. The rpm maintainers should be better able to help. Reassigning to rpm.
Right, another fix in this area forgot to deal with hardlinks so size of hardlinked files is calculated incorrectly now. Will fix.
Fixed in rpm-4.7.0-5.fc12, will pull to F11 too once past the zero-day update flood.
rpm-4.7.0-2.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/rpm-4.7.0-2.fc11
rpm-4.7.0-2.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.