# 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
+ for p in %<; do
+ nvr=$($koji --quiet latest-build %side-tag $p | awk '{print $1}')
+ $koji wait-repo %side-tag $nvr
done
# If the specfile doesn't have the magic string then add