- don't substitute in lines with %(), the parser cannot handle it (bnc#613965)
authorMichael Schroeder <mls@suse.de>
Mon, 14 Jun 2010 13:33:06 +0000 (15:33 +0200)
committerMichael Schroeder <mls@suse.de>
Mon, 14 Jun 2010 13:33:06 +0000 (15:33 +0200)
substitutedeps

index 2792cd6..ef560a2 100755 (executable)
@@ -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;