projects
/
tools
/
obs-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b7829b
)
Fix typo Require(pre) -> Requires(pre)
author
Adrian Schröter
<adrian@suse.de>
Mon, 23 Mar 2009 16:53:25 +0000
(16:53 +0000)
committer
Adrian Schröter
<adrian@suse.de>
Mon, 23 Mar 2009 16:53:25 +0000
(16:53 +0000)
Build/Rpm.pm
patch
|
blob
|
history
diff --git
a/Build/Rpm.pm
b/Build/Rpm.pm
index
fcdae47
..
c7b9259
100644
(file)
--- a/
Build/Rpm.pm
+++ b/
Build/Rpm.pm
@@
-331,7
+331,7
@@
sub parse {
$badarch ||= [];
push @$badarch, split(' ', $1);
}
- if ($line =~ /^(?:Require
\(pre\)|Require
\(post\)|PreReq)\s*:\s*(\S.*)$/i) {
+ if ($line =~ /^(?:Require
s\(pre\)|Requires
\(post\)|PreReq)\s*:\s*(\S.*)$/i) {
my $deps = $1;
my @deps = $deps =~ /([^\s\[,]+)(\s+[<=>]+\s+[^\s\[,]+)?(\s+\[[^\]]+\])?[\s,]*/g;
while (@deps) {