summaryrefslogtreecommitdiff
path: root/substitutedeps
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2010-06-14 15:33:06 +0200
committerMichael Schroeder <mls@suse.de>2010-06-14 15:33:06 +0200
commit12f139a4cd8f9265854425f4a14bd046934879d9 (patch)
treebc62977d2ccfe53f66562e13055257eccbdee0a3 /substitutedeps
parent8c6199e26eb5e1b6e1f2dc8911efbf821181f398 (diff)
- don't substitute in lines with %(), the parser cannot handle it (bnc#613965)
Diffstat (limited to 'substitutedeps')
-rwxr-xr-xsubstitutedeps5
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;