packages: respect package arches before and during building

This commit is contained in:
InsanePrawn 2022-08-28 05:47:46 +02:00
parent b6239a45ce
commit 32f5fe643f
2 changed files with 13 additions and 8 deletions

View file

@ -327,7 +327,7 @@ def discover_pkgbuilds(parallel: bool = True, lazy: bool = True) -> dict[str, Pk
_pkgbuilds_paths[pkglist[0].path] = pkglist
results += pkglist
logging.debug('Building package dictionary!')
logging.info('Building package dictionary')
for package in results:
for name in [package.name] + package.replaces:
if name in packages: