Massive size increases in certain packages

Toshio Kuratomi a.badger at gmail.com
Fri May 18 18:58:21 UTC 2007


On Fri, 2007-05-18 at 19:36 +0200, Hans de Goede wrote:
> Orion Poplawski wrote:
> > I'm not looking at the size of the rpms, I'm looking at installed sizes 
> > as reported by rpm -q --qf "%{SIZE}\n" -p <rpm>.
> > 
> > # rpm -q --qf '%{SIZE}\n' -p development/i386/ogre-1.2.5-1.fc7.i386.rpm
> > 29476134
> > # rpm -q --qf '%{SIZE}\n' -p 6/i386/ogre-1.2.2-2.p1.fc6.i386.rpm
> > 6374746
> > 
> > I installed ogre on my devel system however and the total installed size 
> > appears to be about 8476 KB.  So perhaps a bug in rpm's size calculation?
> > 
> 
> Perhaps, or maybe rpm is showing the size of all subpackages together?
> 

It's a bug in rpm.  Namely, these lines from ogre.spec are throwing
things off:
%exclude %{_bindir}/Ogre-Samples
%exclude %{_libdir}/OGRE/Samples
%exclude %{_datadir}/OGRE/Samples

Rpm's size calculation doesn't properly handle %exclude.

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20070518/94f0515a/attachment.sig>


More information about the fedora-devel-list mailing list