git.annexia.org
/
fedora-ocaml-rebuild.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea68fba
)
Wait for dependencies to appear in the repo before building.
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 7 Jan 2020 11:50:14 +0000
(11:50 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 7 Jan 2020 11:50:28 +0000
(11:50 +0000)
Goalfile
patch
|
blob
|
history
diff --git
a/Goalfile
b/Goalfile
index
67691bf
..
19ed946
100644
(file)
--- 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