fedora-copr / copr

RPM build system - upstream for https://copr.fedorainfracloud.org/
113 stars 61 forks source link

Skip only if all macros in ExclusiveArch and ExcludeArch evaluated #3513

Closed FrostyX closed 2 days ago

FrostyX commented 1 week ago

Fix #3244

It can happen that our builder doesn't understand some architecture macro, e.g. %{zig_arches}. In such a case when it is used in ExclusiveArch, we shouldn't skip all chroots like we do now. A better approach is to be safe and avoid any skipping. Builds will fail in some chroots that should have been skipped but that can be workarounded by the user by manually submitting the build only for a subset of chroots.