aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-26 19:12:24 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-26 19:12:24 +0000
commit3adc63e09bfc9e4065cb415f38602d7f209d893d (patch)
tree4424b3b6f9c8e285acf82ae82236d3c7098810bd
parente0ba189a2b9b89c5a8dc118086ceb3c84b35aa6d (diff)
downloadperl-URPM-3adc63e09bfc9e4065cb415f38602d7f209d893d.tar
perl-URPM-3adc63e09bfc9e4065cb415f38602d7f209d893d.tar.gz
perl-URPM-3adc63e09bfc9e4065cb415f38602d7f209d893d.tar.bz2
perl-URPM-3adc63e09bfc9e4065cb415f38602d7f209d893d.tar.xz
perl-URPM-3adc63e09bfc9e4065cb415f38602d7f209d893d.zip
remove deprecated find_chosen_packages() & find_candidate_packages()
-rw-r--r--NEWS4
-rw-r--r--URPM/Resolve.pm16
2 files changed, 3 insertions, 17 deletions
diff --git a/NEWS b/NEWS
index 0dc3634..390857a 100644
--- a/NEWS
+++ b/NEWS
@@ -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_())