From d617c9321e8e85929851148356070c336627237b Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 5 Nov 2012 16:32:45 +0100 Subject: [PATCH] fix the !unfilteredprereqs case --- Build/Rpm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/Rpm.pm b/Build/Rpm.pm index 7e9df76b7..e6a181533 100644 --- a/Build/Rpm.pm +++ b/Build/Rpm.pm @@ -445,7 +445,7 @@ reexpand: my ($pack, $vers, $qual) = splice(@deps, 0, 3); if (!$unfilteredprereqs && $pack =~ /^\//) { $ifdeps = 1; - next unless $config->{'fileprovides'}->{$_}; + next unless $config->{'fileprovides'}->{$pack}; } push @prereqs, $pack unless grep {$_ eq $pack} @prereqs; }