compare packagebase to sort out packages that were merged/split from splitpackages

This commit is contained in:
2022-02-10 16:29:37 +01:00
parent 7c993e1bc1
commit ea8fe72158

View File

@@ -588,7 +588,7 @@ func (p *BuildPackage) isAvailable(h *alpm.Handle) bool {
return false
}
if p.Srcinfo != nil && p.Srcinfo.Arch[0] != pkg.Architecture() {
if p.Srcinfo != nil && p.Srcinfo.Arch[0] != pkg.Architecture() || p.Srcinfo.Pkgbase != pkg.Base() {
return false
}