aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-25 20:43:07 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-25 20:43:07 +0000
commitf3dd5972ec4f943f0b3a0e5504aa9cefa3a7c561 (patch)
tree2bff40fa29bca03aae18dc485d44de21fbbabad7 /URPM.pm
parent6b75bf9915b11b9066ba7ca0356d25bfabe1b12c (diff)
downloadperl-URPM-f3dd5972ec4f943f0b3a0e5504aa9cefa3a7c561.tar
perl-URPM-f3dd5972ec4f943f0b3a0e5504aa9cefa3a7c561.tar.gz
perl-URPM-f3dd5972ec4f943f0b3a0e5504aa9cefa3a7c561.tar.bz2
perl-URPM-f3dd5972ec4f943f0b3a0e5504aa9cefa3a7c561.tar.xz
perl-URPM-f3dd5972ec4f943f0b3a0e5504aa9cefa3a7c561.zip
- add filesize to synthesis, add ->filesize to get it, and add
selected_size_filesize() to compute the sum
Diffstat (limited to 'URPM.pm')
-rw-r--r--URPM.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/URPM.pm b/URPM.pm
index 3453943..41b203e 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -630,6 +630,10 @@ The rpm's bare name.
=item $package->rflags()
+=item $package->filesize()
+
+Size of the rpm file (ie the rpm header + cpio body)
+
=item $package->set_flag($name, $value)
=item $package->set_flag_base($value)