X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Goalfile;h=19ed9465309f1811f1ff125b252308be638d6af7;hb=695f007ab3eac0e1988cd59eba69f7451788bc4d;hp=67691bf7c78b6fdb7c728c4b1e512c96d0c48783;hpb=ea68fba0d79905297dd256a1c54580155ed797c1;p=fedora-ocaml-rebuild.git diff --git a/Goalfile b/Goalfile index 67691bf..19ed946 100644 --- a/Goalfile +++ b/Goalfile @@ -88,6 +88,12 @@ goal rebuild (pkg) = cd %fedora-dir/%pkg/%branch specfile=%pkg.spec + # We have to wait for the dependencies to become available + # before we can start the new build. + for p in $(%koji latest-build %< | awk '{print $1}'); do + %koji --quiet wait-repo side-tag + done + # If the specfile doesn't have the magic string then add # that now. if ! grep -sq %rebuild-name $specfile; then