diff options
author | Michael Schroeder <mls@suse.de> | 2010-06-14 15:33:06 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2010-06-14 15:33:06 +0200 |
commit | 12f139a4cd8f9265854425f4a14bd046934879d9 (patch) | |
tree | bc62977d2ccfe53f66562e13055257eccbdee0a3 /substitutedeps | |
parent | 8c6199e26eb5e1b6e1f2dc8911efbf821181f398 (diff) |
- don't substitute in lines with %(), the parser cannot handle it (bnc#613965)
Diffstat (limited to 'substitutedeps')
-rwxr-xr-x | substitutedeps | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/substitutedeps b/substitutedeps index 2792cd6..ef560a2 100755 --- a/substitutedeps +++ b/substitutedeps @@ -206,6 +206,11 @@ for my $l (@$xspec) { print F "$l\n"; next; } + if ($l =~ /%\(/) { + # too hard for us + print F "$l\n"; + next; + } my $isbuildrequires = 0; $isbuildrequires = 1 if $l =~ /^BuildRequires:/i; |