aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/formatting.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-20 21:04:05 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-20 21:04:05 +0000
commitcaf468c7a499790da9108c416b00e75323c8ee28 (patch)
tree1c210f21c135e134a17d31a474dee3161f78c5fd /Rpmdrake/formatting.pm
parentb83d5e6d041c4ba6c2649ec017ee77019db4ba77 (diff)
downloadrpmdrake-caf468c7a499790da9108c416b00e75323c8ee28.tar
rpmdrake-caf468c7a499790da9108c416b00e75323c8ee28.tar.gz
rpmdrake-caf468c7a499790da9108c416b00e75323c8ee28.tar.bz2
rpmdrake-caf468c7a499790da9108c416b00e75323c8ee28.tar.xz
rpmdrake-caf468c7a499790da9108c416b00e75323c8ee28.zip
(version_release) rename it as evr()
rationale: it is really what it is after previous commit
Diffstat (limited to 'Rpmdrake/formatting.pm')
-rw-r--r--Rpmdrake/formatting.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/formatting.pm b/Rpmdrake/formatting.pm
index f5cc928d..644c4ad8 100644
--- a/Rpmdrake/formatting.pm
+++ b/Rpmdrake/formatting.pm
@@ -36,6 +36,7 @@ our @ISA = qw(Exporter);
our @EXPORT = qw(
$spacing
ensure_utf8
+ evr
format_changelog_changelogs
format_changelog_string
format_field
@@ -50,7 +51,6 @@ our @EXPORT = qw(
rpm_description
split_fullname
urpm_name
- version_release
);
@@ -92,7 +92,7 @@ sub my_fullname {
"$name-$version-$release";
}
-sub version_release {
+sub evr {
my ($pkg) = @_;
my (undef, $version, $release) = $pkg->fullname;
my $epoch = $pkg->epoch;