diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-08-27 17:26:49 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-09-05 07:26:15 +0200 |
commit | bc7e830670503a7b51e5a89aedbbcbb78e14abc8 (patch) | |
tree | 40ebe7c666493a31efad5f63cac7838a0f88143b | |
parent | b6ceabcd87f7d9522658d9ff66b860838b48739c (diff) | |
download | urpmi-bc7e830670503a7b51e5a89aedbbcbb78e14abc8.tar urpmi-bc7e830670503a7b51e5a89aedbbcbb78e14abc8.tar.gz urpmi-bc7e830670503a7b51e5a89aedbbcbb78e14abc8.tar.bz2 urpmi-bc7e830670503a7b51e5a89aedbbcbb78e14abc8.tar.xz urpmi-bc7e830670503a7b51e5a89aedbbcbb78e14abc8.zip |
rename 'no_suggests' parameter as 'no_recommends'
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | urpm/select.pm | 2 | ||||
-rwxr-xr-x | urpmi | 2 | ||||
-rwxr-xr-x | urpmq | 4 |
4 files changed, 7 insertions, 4 deletions
@@ -1,3 +1,6 @@ +- rpm-4.12 support: + o rename 'no_suggests' parameter as 'no_recommends' + Version 7.32 - 5 September 2014 - add some missing methods, allows to do urpmf --qf '%sourcerpm:%requires' diff --git a/urpm/select.pm b/urpm/select.pm index 0b8ae3e5..79df74cc 100644 --- a/urpm/select.pm +++ b/urpm/select.pm @@ -308,7 +308,7 @@ installed or upgraded =item * nodeps -=item * no_suggests +=item * no_recommends =back @@ -468,7 +468,7 @@ if ($options{replacepkgs}) { install_src => $install_src, keep => $urpm->{options}{keep}, nodeps => $urpm->{options}{'allow-nodeps'} || $urpm->{options}{'allow-force'}, - no_suggests => $urpm->{options}{'no-suggests'}, + no_recommends => $urpm->{options}{'no-suggests'}, priority_upgrade => $test || $env ? '' : $urpm->{options}{'priority-upgrade'}, ); } @@ -365,7 +365,7 @@ if ($options{list_aliases}) { keep => $options{keep}, rpmdb => $options{env} && "$options{env}/rpmdb.cz", auto_select => $options{auto_select}, - no_suggests => $urpm->{options}{'no-suggests'}, + no_recommends => $urpm->{options}{'no-suggests'}, callback_choices => $stop_on_choices); $options{deps} or delete @{$state->{selected}}{grep { exists $state->{selected}{$_} && ! defined $state->{selected}{$_} } keys %{$state->{selected}}}; @@ -373,7 +373,7 @@ if ($options{list_aliases}) { #- only deps required. my $empty_db = URPM->new; #- URPM has same methods as URPM::DB and empty URPM will be seen as empty URPM::DB. $urpm->resolve_requested($empty_db, $state, \%requested, - no_suggests => $urpm->{options}{'no-suggests'}, + no_recommends => $urpm->{options}{'no-suggests'}, callback_choices => $stop_on_choices, nodeps => 1); } else { $state->{selected} = \%requested; |