diff options
Diffstat (limited to 'lib/Youri/Submit/Check')
-rw-r--r-- | lib/Youri/Submit/Check/ACL.pm | 2 | ||||
-rw-r--r-- | lib/Youri/Submit/Check/History.pm | 2 | ||||
-rw-r--r-- | lib/Youri/Submit/Check/Host.pm | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/Youri/Submit/Check/ACL.pm b/lib/Youri/Submit/Check/ACL.pm index 34bf48a..a9cf52f 100644 --- a/lib/Youri/Submit/Check/ACL.pm +++ b/lib/Youri/Submit/Check/ACL.pm @@ -29,7 +29,7 @@ sub _init { sub run { my ($self, $package, $repository, $target, $define) = @_; croak "Not a class method" unless ref $self; - my $file = $package->get_full_name(); + my $file = $package->as_string(); my $arch = $package->get_arch(); my $srpm = $package->get_canonical_name; my $section = $repository->_get_section($package, $target, $define); diff --git a/lib/Youri/Submit/Check/History.pm b/lib/Youri/Submit/Check/History.pm index 326f2f1..f742a36 100644 --- a/lib/Youri/Submit/Check/History.pm +++ b/lib/Youri/Submit/Check/History.pm @@ -42,7 +42,7 @@ sub run { unless ($entries{$last_revision_number}) { push( @errors, - "Last changelog entry $last_revision_number from last revision " . $last_revision->get_full_name() . " missing from current changelog" + "Last changelog entry $last_revision_number from last revision " . $last_revision->as_string() . " missing from current changelog" ); } } diff --git a/lib/Youri/Submit/Check/Host.pm b/lib/Youri/Submit/Check/Host.pm index ee880d8..2816f83 100644 --- a/lib/Youri/Submit/Check/Host.pm +++ b/lib/Youri/Submit/Check/Host.pm @@ -29,7 +29,7 @@ sub _init { sub run { my ($self, $package, $repository, $target, $define) = @_; croak "Not a class method" unless ref $self; - my $file = $package->get_file; + my $file = $package->as_file; my $arch = $package->get_arch; my $buildhost = $package->as_formated_string('%{buildhost}'); foreach my $h (keys %$host) { |