summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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},