Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci/buildroot: make builddep work on !x86_64
Source RPMs are arch-specific because the buildreqs that get converted into RPM requires are rendered from the spec file, which may have arch conditionals. So we can't take an SRPM created on an x86_64 machine and use it on !x86_64. This is what `dnf builddep foo` does under the hood. Work around this by rebuilding the SRPMs. See also: https://bugzilla.redhat.com/show_bug.cgi?id=1402784#c6 (Another option mentioned there is to point straight at the spec file in dist-git, but some packages (at least systemd) have spec files that source other files and spec parsing would fail if we didn't clone the whole repo, which gets heavyweight.)
- Loading branch information