aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/formatting.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-10-23 11:48:19 +0000
committerThierry Vignaud <tv@mandriva.org>2007-10-23 11:48:19 +0000
commit1804d33bd97411b40f708faac382fca4f5ef4c90 (patch)
treec1bcd823ee4913bba2b0cff30f17ed64a55d2c8a /Rpmdrake/formatting.pm
parent9ef28d53ee19444e5e4ca611704bf65e94b7fa24 (diff)
downloadrpmdrake-1804d33bd97411b40f708faac382fca4f5ef4c90.tar
rpmdrake-1804d33bd97411b40f708faac382fca4f5ef4c90.tar.gz
rpmdrake-1804d33bd97411b40f708faac382fca4f5ef4c90.tar.bz2
rpmdrake-1804d33bd97411b40f708faac382fca4f5ef4c90.tar.xz
rpmdrake-1804d33bd97411b40f708faac382fca4f5ef4c90.zip
(split_fullname) split "release" from "version" (needed for next commits)
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 a5632aa0..39453fb1 100644
--- a/Rpmdrake/formatting.pm
+++ b/Rpmdrake/formatting.pm
@@ -53,7 +53,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;