aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--URPM.xs1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index bcedec6..17e17a6 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
- do not add FILENAME_TAG to hdlist anymore (unused since mdv2008)
- fix for a rare crash (mga#4425)
+- put real package file sizes in synthesis
Version 3.38.8 - 07 February 2012
diff --git a/URPM.xs b/URPM.xs
index f44bfbb..78288d6 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1178,6 +1178,7 @@ update_header(char *filename, URPM__Package pkg, __attribute__((unused)) int kee
FD_t fd = fdDup(d);
Header header;
rpmts ts;
+ pkg->filesize = fdSize(fd);
close(d);
ts = rpmtsCreate();