summaryrefslogtreecommitdiffstats
path: root/urpm/signature.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/signature.pm')
-rw-r--r--urpm/signature.pm2
1 files changed, 2 insertions, 0 deletions
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);