From 84af202ce156529c02d7f8d0feed032c65d63d9d Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 16 Feb 2012 06:15:24 +0000 Subject: spacing --- Rpmdrake/formatting.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Rpmdrake/formatting.pm b/Rpmdrake/formatting.pm index 95da9728..de78fb80 100644 --- a/Rpmdrake/formatting.pm +++ b/Rpmdrake/formatting.pm @@ -81,21 +81,19 @@ sub rpm_description { "$t$tmp\n"; } - sub split_fullname { $_[0] =~ /^(.*)-([^-]+)-([^-]+)\.([^.-]+)$/ } + sub my_fullname { return '?-?-?' unless ref $_[0]; my ($name, $version, $release) = $_[0]->fullname; "$name-$version-$release"; } - sub urpm_name { return '?-?-?.?' unless ref $_[0]; scalar $_[0]->fullname; } - sub pkg2medium { my ($p, $urpm) = @_; return if !ref $p; -- cgit v1.2.1