From 11df98ff2cb530b94838807f029d29862549f582 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 16 Feb 2012 06:12:30 +0000 Subject: (urpm_name) simplify --- Rpmdrake/formatting.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Rpmdrake/formatting.pm b/Rpmdrake/formatting.pm index 6a617778..95da9728 100644 --- a/Rpmdrake/formatting.pm +++ b/Rpmdrake/formatting.pm @@ -92,8 +92,7 @@ sub my_fullname { sub urpm_name { return '?-?-?.?' unless ref $_[0]; - my ($name, $version, $release, $arch) = $_[0]->fullname; - "$name-$version-$release.$arch"; + scalar $_[0]->fullname; } -- cgit v1.2.1