Skip to content

Commit 5f57d9e

Browse files
committed
Unbreak parsing of sources/patches
1 parent ab75b87 commit 5f57d9e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Build/Rpm.pm

+3-1
Original file line numberDiff line numberDiff line change
@@ -986,8 +986,10 @@ sub parse {
986986
# we ignore the version for now
987987
push @prereqs, $pack unless grep {$_ eq $pack} @prereqs;
988988
}
989+
} else {
990+
undef $keyword;
989991
}
990-
next;
992+
next if $keyword;
991993
}
992994

993995
if ($keyword && !defined($arg)) {

0 commit comments

Comments
 (0)