aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/formatting.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake/formatting.pm')
-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;