aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-06 09:14:55 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-06 09:14:55 +0000
commit64e5df791e3d07cdc8a1a4a9540622b4ba334911 (patch)
tree880cce693711ace8a78ffd45ae15cdd3bacbc06f /Rpmdrake
parent1a2d04f7dadb82f5c7ce7d9caddf68ce2be9daa8 (diff)
downloadrpmdrake-64e5df791e3d07cdc8a1a4a9540622b4ba334911.tar
rpmdrake-64e5df791e3d07cdc8a1a4a9540622b4ba334911.tar.gz
rpmdrake-64e5df791e3d07cdc8a1a4a9540622b4ba334911.tar.bz2
rpmdrake-64e5df791e3d07cdc8a1a4a9540622b4ba334911.tar.xz
rpmdrake-64e5df791e3d07cdc8a1a4a9540622b4ba334911.zip
(split_fullname) adatp to the fact urpm names contains the arch
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/formatting.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/formatting.pm b/Rpmdrake/formatting.pm
index 2987a7fb..04b6ee20 100644
--- a/Rpmdrake/formatting.pm
+++ b/Rpmdrake/formatting.pm
@@ -59,7 +59,7 @@ sub rpm_description {
}
-sub split_fullname { $_[0] =~ /^(.*)-([^-]+-[^-]+)$/ }
+sub split_fullname { $_[0] =~ /^(.*)-([^-]+-[^-]+)\.([^.-]+)$/ }
sub my_fullname {
return '?-?-?' unless ref $_[0];
my ($name, $version, $release) = $_[0]->fullname;