summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xgurpmi25
2 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 6ecac5c1..d357a316 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- gurpmi:
+ o handle provides (spotted by salem)
- urpmi:
o never suggest --install-src for spec file (#38876)
o do not allow "urpmi --install-src foo.spec"
diff --git a/gurpmi2 b/gurpmi2
index d43f68d6..7f06800b 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -26,6 +26,7 @@ our $allow_medium_change = 0;
our $auto_select = 0;
our $force = 0;
our $test = 0;
+our $use_provides = 1;
#- GUI globals
my ($mainw, $mainbox);
@@ -81,7 +82,9 @@ my $urpm = configure_urpm();
my $state = {};
my %requested = $urpm->register_rpms(@all_rpms);
if (@gurpmi::names) {
- urpm::select::search_packages($urpm, \%requested, [ @gurpmi::names ]) || $force or exit 1;
+ urpm::select::search_packages($urpm, \%requested, [ @gurpmi::names ],
+ use_provides => $use_provides,
+ ) || $force or exit 1;
}
#- return value is true if program should be restarted (in order to take care of important