diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | urpm/signature.pm | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -1,6 +1,7 @@ - urpmi o fix --bug when there is no /etc/urpmi/prefer.list file o new option --justdb (new perl-URPM 1.76) + o do not verify signature of .spec files (#32824) - urpmf o display "usage" when no <pattern-expression> is given (#32658) diff --git a/urpm/signature.pm b/urpm/signature.pm index 05fb461f..ccafa299 100644 --- a/urpm/signature.pm +++ b/urpm/signature.pm @@ -19,6 +19,8 @@ sub _check { foreach my $id (keys %$sources) { my $filepath = $sources->{$id}; + $filepath !~ /\.spec$/ or next; + $urpm->{debug} and $urpm->{debug}("verifying signature of $filepath"); my $verif = URPM::verify_signature($filepath); |