gather: Process dependencies sorted

Instead of going in random order, we should do it deterministically and
process the dependencies in order.

This should actually fix a problem where `glibc-langpack` packages are
missing on some architectures for Fedora Rawhide.

Fixes: https://pagure.io/pungi-fedora/issue/214
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2017-04-20 15:28:11 +02:00
parent 059449e140
commit 75430a95b9

View File

@ -645,7 +645,7 @@ class Pungi(PungiBase):
continue
self.resolved_deps[req] = None
for add in added:
for add in sorted(added):
self.get_package_deps(add)
return added