aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-26 11:25:48 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-26 11:25:48 +0000
commitbff430cf3cfe9ab44c22338eabe852433ba2d9da (patch)
treed98de3d925d57d02d0db3bc98933202e131da753 /Rpmdrake/pkg.pm
parentfdfda65c8dfc55d1a55b351611c6032ce5bee87b (diff)
downloadrpmdrake-bff430cf3cfe9ab44c22338eabe852433ba2d9da.tar
rpmdrake-bff430cf3cfe9ab44c22338eabe852433ba2d9da.tar.gz
rpmdrake-bff430cf3cfe9ab44c22338eabe852433ba2d9da.tar.bz2
rpmdrake-bff430cf3cfe9ab44c22338eabe852433ba2d9da.tar.xz
rpmdrake-bff430cf3cfe9ab44c22338eabe852433ba2d9da.zip
(extract_header) explain why we run ->pack_header()
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rwxr-xr-xRpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 25d5a14c..b3405e96 100755
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -127,7 +127,7 @@ sub extract_header {
files => scalar($p->files) ? [ $p->files ] : [ N("(none)") ],
changelog => $chg_prepro->(join("\n", mapn { "* " . localtime2changelog($_[2]) . " $_[0]\n\n$_[1]\n" }
[ $p->changelog_name ], [ $p->changelog_text ], [ $p->changelog_time ])) });
- $p->pack_header;
+ $p->pack_header; # needed in order to call methods on objects outside ->traverse
} else {
header_non_available:
add2hash($pkg, { summary => $p->summary || N("(Not available)"), description => undef });