[Rpm-metadata] installed size broken ?

Anders F Björklund afb at algonet.se
Tue Sep 23 09:12:35 UTC 2008


The generated <size installed> in primary.xml
seems broken, it's always the same as package...

[tests/createrepo.py] <-- added a Smart test case
FAIL: test_size (tests.createrepo.CreateRepoTest)

AssertionError: {'installed': '0', 'archive': '248', 'package':  
'2160'} != {'installed': '2160', 'archive': '248', 'package': '2160'}

It works OK if I install createrepo-0.4.11-2.fc8,
but is wrong when using createrepo-0.9.5-2.fc9.


All the generated repodata for Fedora 9 seems
to have the same problem as well, afaict...

The repodata for Fedora 8 seems not affected,
probably it was using the previous createrepo.

--anders




More information about the Rpm-metadata mailing list