From: Michael Schroeder Date: Mon, 14 Jun 2010 13:33:06 +0000 (+0200) Subject: - don't substitute in lines with %(), the parser cannot handle it (bnc#613965) X-Git-Tag: upstream/20120927~322 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=12f139a4cd8f9265854425f4a14bd046934879d9;p=platform%2Fupstream%2Fbuild.git - don't substitute in lines with %(), the parser cannot handle it (bnc#613965) --- 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;