Fix koji wait-repo so it adds --build option.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 7 Jan 2020 20:24:44 +0000 (20:24 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 7 Jan 2020 20:24:44 +0000 (20:24 +0000)
Goalfile

index 3ccf6bd..78a00cf 100644 (file)
--- a/Goalfile
+++ b/Goalfile
@@ -100,7 +100,7 @@ goal rebuild (pkg) =
     # before we can start the new build.
     for p in %<; do
         nvr=$($koji --quiet latest-build %side-tag $p | awk '{print $1}')
-        $koji wait-repo %side-tag $nvr
+        $koji wait-repo %side-tag --build=$nvr
     done
 
     # If the specfile doesn't have the magic string then add