aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-10 16:53:02 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-10 16:53:02 +0000
commita29fa866dbb7dfa41a18da4d636639fb39634b72 (patch)
tree6525d6f41575774d8b17e4355c76f6839aa0726c /Rpmdrake/pkg.pm
parent9baa2fb0728794eaccc785570fd8a48523e75773 (diff)
downloadrpmdrake-a29fa866dbb7dfa41a18da4d636639fb39634b72.tar
rpmdrake-a29fa866dbb7dfa41a18da4d636639fb39634b72.tar.gz
rpmdrake-a29fa866dbb7dfa41a18da4d636639fb39634b72.tar.bz2
rpmdrake-a29fa866dbb7dfa41a18da4d636639fb39634b72.tar.xz
rpmdrake-a29fa866dbb7dfa41a18da4d636639fb39634b72.zip
(rpm_summary) kill it; since perl-URPM-1.56, perl knows that strings from rpm
headers are UTF-8, thus fixing a crash (#33283)
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r--Rpmdrake/pkg.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 8e77a5a6..41cc9556 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -342,7 +342,7 @@ sub get_pkgs {
#- Extract summary and description since they'll be lost when the header is packed
$all_pkgs{$fullname} = {
selected => 0, pkg => $pkg, urpm_name => urpm_name($pkg),
- summary => rpm_summary($pkg->summary),
+ summary => $pkg->summary,
description => rpm_description($pkg->description),
} if !($all_pkgs{$fullname} && $all_pkgs{$fullname}{description});
if (my $name = $base{$fullname}) {
@@ -425,7 +425,7 @@ sub get_pkgs {
}
}
$all_pkgs{urpm_name($pkg)} = { selected => $selected, pkg => $pkg,
- summary => rpm_summary($pkg->summary),
+ summary => $pkg->summary,
};
}
if ($::rpmdrake_options{'pkg-sel'} && $::rpmdrake_options{'pkg-nosel'}) {