diff options
-rw-r--r-- | lib/Youri/Package.pm | 2 | ||||
-rw-r--r-- | lib/Youri/Package/URPM.pm | 2 | ||||
-rw-r--r-- | lib/Youri/Repository/Mandriva_upload.pm | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/Youri/Package.pm b/lib/Youri/Package.pm index 1571642..c8a6bca 100644 --- a/lib/Youri/Package.pm +++ b/lib/Youri/Package.pm @@ -323,7 +323,7 @@ sub compare_ranges { my ($self, $range1, $range2) = @_; carp "Deprecated method, use are_range_compatible now"; - return $self->are_ranges_compatible($range1, $range2); + return $self->check_ranges_compatibility($range1, $range2); } sub get_revision_name { diff --git a/lib/Youri/Package/URPM.pm b/lib/Youri/Package/URPM.pm index 0691d83..667284c 100644 --- a/lib/Youri/Package/URPM.pm +++ b/lib/Youri/Package/URPM.pm @@ -359,7 +359,7 @@ sub satisfy_range { my ($self, $range) = @_; croak "Not a class method" unless ref $self; - return $self->check_range_compatibility($self->get_revision(), $range); + return $self->check_ranges_compatibility($self->get_revision(), $range); } sub sign { diff --git a/lib/Youri/Repository/Mandriva_upload.pm b/lib/Youri/Repository/Mandriva_upload.pm index 076c573..742929e 100644 --- a/lib/Youri/Repository/Mandriva_upload.pm +++ b/lib/Youri/Repository/Mandriva_upload.pm @@ -314,7 +314,7 @@ sub get_upload_newer_revisions { s/^\@\d+://; return if ! /^$pattern/; print "Find $_\n"; - push @packages, $File::Find::name if $package->compare_ranges("== $name", "< $_") + push @packages, $File::Find::name if $package->check_ranges_compatibility("== $name", "< $_") }, $path); } } |