Currently (*Package).Size() and (*Package).ArchiveSize() don't work if the size is larger than 4GB as RPM has separate tags for 64bit integers (LONGSIZE & LONGARCHIVESIZE).
This PR attempts to get the long sizes and falls back to the 32bit sizes if they aren't found.
Currently
(*Package).Size()
and(*Package).ArchiveSize()
don't work if the size is larger than 4GB as RPM has separate tags for 64bit integers (LONGSIZE
&LONGARCHIVESIZE
).This PR attempts to get the long sizes and falls back to the 32bit sizes if they aren't found.