From 0be530d499491ec8c240ec592ed4f708f97d9eda Mon Sep 17 00:00:00 2001 From: Jesus Checa <101630491+jchecahi@users.noreply.github.com> Date: Fri, 6 Sep 2024 09:45:22 +0200 Subject: [PATCH] Enforce installing llvm-libs from the copr repo (#697) This addresses test run issues raised in #692. --- tests/snapshot-gating.fmf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/snapshot-gating.fmf b/tests/snapshot-gating.fmf index 50bae63d..f02b8d67 100644 --- a/tests/snapshot-gating.fmf +++ b/tests/snapshot-gating.fmf @@ -20,6 +20,10 @@ prepare: # parsing ourselves. # Check https://github.com/fedora-copr/copr/issues/3387 - sed -i "s/\$distname/$(echo "$COPR_CHROOT" | cut -d '-' -f 1)/" /etc/yum.repos.d/*$COPR_PROJECT* + # Ensure that latest llvm-libs (from our snapshot) is installed to prevent + # potential dependency solving issues when rpms depending on llvm-libs are + # already in the system. + - dnf -y install --best llvm-libs # Lower the priority of the testing-farm-tag-repository so that our copr repo is picked up. # See: https://docs.testing-farm.io/Testing%20Farm/0.1/test-environment.html#_tag_repository