From 13258c86d966b9bf5abd71a4a892a2c7350d7ff0 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 28 Aug 2007 11:00:46 +0000 Subject: urpmi: do not verify signature of .spec files (#32824) (see also a fix in perl-URPM so that URPM::spec2srcheader($_)->arch returns "src" and so urpmi doesn't say it's going to install it (even if it skips it)) --- urpm/signature.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'urpm/signature.pm') 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); -- cgit v1.2.1