+ # We will require the mapping of all source packages to the
+ # list of binary packages they build, so work this out in advance.
+ declare -A binpkgs
+ for p in %fedora-source-packages; do
+ binpkgs[$p]="$(
+ rpmspec -q --provides %fedora-dir/$p/%fedora-branch/$p.spec 2>/dev/null |
+ awk '{print $1}'
+ )"
+ done