aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Youri
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2006-08-05 08:51:09 +0000
committerFlorent Villard <warly@mandriva.com>2006-08-05 08:51:09 +0000
commit3e9fb94ffde83c7fbcc90eccee7d7a8df256e4c7 (patch)
treee2cb6fc625786c548309cbabe441570afb4afc88 /lib/Youri
parent387d16e383eaafebea11519fe0ddd52aa57e31d7 (diff)
downloadmga-youri-core-3e9fb94ffde83c7fbcc90eccee7d7a8df256e4c7.tar
mga-youri-core-3e9fb94ffde83c7fbcc90eccee7d7a8df256e4c7.tar.gz
mga-youri-core-3e9fb94ffde83c7fbcc90eccee7d7a8df256e4c7.tar.bz2
mga-youri-core-3e9fb94ffde83c7fbcc90eccee7d7a8df256e4c7.tar.xz
mga-youri-core-3e9fb94ffde83c7fbcc90eccee7d7a8df256e4c7.zip
add get_buildhost function
Diffstat (limited to 'lib/Youri')
-rw-r--r--lib/Youri/Package/URPM.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Youri/Package/URPM.pm b/lib/Youri/Package/URPM.pm
index c693b8d..e26399e 100644
--- a/lib/Youri/Package/URPM.pm
+++ b/lib/Youri/Package/URPM.pm
@@ -344,6 +344,13 @@ sub get_last_change {
];
}
+sub get_buildhost {
+ my ($self) = @_;
+ croak "Not a class method" unless ref $self;
+
+ return $self->{_header}->buildhost();
+}
+
sub _to_string {
return $_[0]->{_header}->fullname();
}