diff options
author | Florent Villard <warly@mandriva.com> | 2006-08-05 08:51:09 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2006-08-05 08:51:09 +0000 |
commit | 3e9fb94ffde83c7fbcc90eccee7d7a8df256e4c7 (patch) | |
tree | e2cb6fc625786c548309cbabe441570afb4afc88 /lib/Youri | |
parent | 387d16e383eaafebea11519fe0ddd52aa57e31d7 (diff) | |
download | mga-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.pm | 7 |
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(); } |