diff options
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | URPM/Resolve.pm | 16 |
2 files changed, 3 insertions, 17 deletions
@@ -1,4 +1,6 @@ -- API: add EVR method +- API: + o add EVR method + o remove long deprecated find_chosen_packages() & find_candidate_packages() Version 4.14 - 21 September 2012 diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index 393ceff..536fe5d 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -95,19 +95,6 @@ sub find_candidate_packages_ { @packages; } -#- deprecated, use find_candidate_packages_() directly -#- -#- side-effects: none -sub find_candidate_packages { - my ($urpm, $id_prop, $o_rejected) = @_; - - my %packages; - foreach (find_candidate_packages_($urpm, $id_prop, $o_rejected)) { - push @{$packages{$_->name}}, $_; - } - \%packages; -} - #- returns the "arch" of package $n in rpm db sub get_installed_arch { my ($db, $n) = @_; @@ -197,9 +184,6 @@ sub provided_version_that_overlaps { $version; } -#- deprecated function, use find_required_package() -sub find_chosen_packages { &find_required_package } - #- find the package (or packages) to install matching $id_prop #- returns (list ref of matches, list ref of preferred matches) #- (see also find_candidate_packages_()) |