diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-10-23 11:48:19 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-10-23 11:48:19 +0000 |
commit | 1804d33bd97411b40f708faac382fca4f5ef4c90 (patch) | |
tree | c1bcd823ee4913bba2b0cff30f17ed64a55d2c8a /Rpmdrake/formatting.pm | |
parent | 9ef28d53ee19444e5e4ca611704bf65e94b7fa24 (diff) | |
download | rpmdrake-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.pm | 2 |
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; |