From 89b33ee126c6b5be0d84ca4647d5110bff990f9c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 28 Jul 2022 08:00:26 +0200 Subject: Do not warn about 14y+ old behavior change (mga#26448) --- Changes | 2 ++ urpm/args.pm | 6 +----- 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}, -- cgit v1.2.1