summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2022-07-28 08:00:26 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2022-12-10 14:11:10 +0100
commit89b33ee126c6b5be0d84ca4647d5110bff990f9c (patch)
tree9837afec761683c7e126f4ccf278c8ad44717668
parent6f710c926c8252eb9bc84dafd6675370d0e3efae (diff)
downloadurpmi-89b33ee126c6b5be0d84ca4647d5110bff990f9c.tar
urpmi-89b33ee126c6b5be0d84ca4647d5110bff990f9c.tar.gz
urpmi-89b33ee126c6b5be0d84ca4647d5110bff990f9c.tar.bz2
urpmi-89b33ee126c6b5be0d84ca4647d5110bff990f9c.tar.xz
urpmi-89b33ee126c6b5be0d84ca4647d5110bff990f9c.zip
Do not warn about 14y+ old behavior change (mga#26448)
-rw-r--r--Changes2
-rw-r--r--urpm/args.pm6
2 files changed, 3 insertions, 5 deletions
diff --git a/Changes b/Changes
index 3b127df4..2960d6e8 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,7 @@
- cpan_testers:
o Skip mirrorlist tests if there's only one broken mirror such as on mga[1-6]
+- urpmq:
+ o --requires/suggests: do not warn about 14y+ old behavior change (mga#26448)
Version 8.128 - 5 November 2022
diff --git a/urpm/args.pm b/urpm/args.pm
index 2dee2e6a..a6d489a2 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -270,7 +270,6 @@ my %options_spec = (
$options{recommends} = 1;
},
suggests => sub {
- $urpm->{error}("--suggests now displays the suggested packages, see --allow-suggests for previous behaviour");
$urpm->{error}("You should now use --recommends.");
$options{recommends} = 1;
},
@@ -285,10 +284,7 @@ my %options_spec = (
force => \$options{force},
'parallel=s' => \$options{parallel},
'env=s' => \$options{env},
- requires => sub {
- $urpm->{error}("--requires behaviour changed, use --requires-recursive to get the old behaviour");
- $options{requires} = 1;
- },
+ requires => sub { $options{requires} = 1 },
'requires-recursive|d' => \$options{deps},
u => \$options{upgrade},
a => \$options{all},