diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | Rpmdrake/formatting.pm | 4 |
3 files changed, 8 insertions, 2 deletions
@@ -1,4 +1,4 @@ -VERSION = 5.26.5 +VERSION = 5.26.6 NAME = rpmdrake DIRS = grpmi po data mime @@ -1,3 +1,7 @@ +Version 5.26.6 - 7 Januar 2011, Per Øyvind Karlsen + +- handle URPM::Package->fullname returning vector of different lengths (#61702) + Version 5.26.5 - 24 October 2010, Thierry Vignaud - add a minimal "testsuite" in order to prevent syntax errors such as #60901 diff --git a/Rpmdrake/formatting.pm b/Rpmdrake/formatting.pm index 6e4e0dc7..b60b01e1 100644 --- a/Rpmdrake/formatting.pm +++ b/Rpmdrake/formatting.pm @@ -91,7 +91,9 @@ sub my_fullname { sub urpm_name { return '?-?-?.?' unless ref $_[0]; - my ($name, $version, $release, $arch) = $_[0]->fullname; + my @fullname = $_[0]->fullname; + my ($name, $version, $release) = @fullname; + my $arch = @fullname[-1]; "$name-$version-$release.$arch"; } |