dnf5 drops support of --resolve in favor of --providers-of=<attribute>
but --installed does query the repos anyway. In systems with dnf5 we
fall back to dnf4 python bindings (using dnf-3) to workaround this.
Installing the package into a chroot from the repos is a flaky approach
as it's not guaranteed that the package in the repos is the same as the
one being tested. Also, it's unnecessarily time consuming.
Now the test checks the symlinks in the rpm and checks that they are
resolved to a file owned by either compiler-rt or one of its
dependencies.
i686 snapshot builds take many more hours to complete than x86_64 ones
making it difficult to wait until both are available before tests start
to run and still providing results in the same day. Because of that,
this commit disables the test when the snapshot context is defined.
When testing builds from Koji, the i686 repositories are not available
on x86_64, requiring packages to be manually installed in order to run
cross-compile-i686.