From d2ea7b36c622ace0ae0698ccf2f6e15629d50c51 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Tue, 6 Feb 2024 17:45:50 +0100 Subject: [PATCH] Temporarily skip unavailable packages As bpftool package is not available in Rawhide, until [0] lands. [0] https://bodhi.fedoraproject.org/updates/FEDORA-2024-bb73636f1d --- integration/upstream-tests/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/upstream-tests/test.sh b/integration/upstream-tests/test.sh index 8ffa61f..c904bd0 100755 --- a/integration/upstream-tests/test.sh +++ b/integration/upstream-tests/test.sh @@ -17,7 +17,7 @@ setenforce 0 if [[ -n "${PACKIT_TARGET_URL:-}" ]]; then # Install systemd's build dependencies, as some of the integration tests setup stuff # requires pkg-config files - dnf builddep --allowerasing -y systemd + dnf builddep --allowerasing --skip-unavailable -y systemd git clone "$PACKIT_TARGET_URL" systemd cd systemd git checkout "$PACKIT_TARGET_BRANCH" @@ -34,7 +34,7 @@ else # If the build is recent enough it might not be on the mirrors yet, so try koji as well koji download-build --arch=src "$(rpm -q systemd --qf "%{sourcerpm}")" fi - dnf builddep --allowerasing -y ./systemd-*.src.rpm + dnf builddep --allowerasing --skip-unavailable -y ./systemd-*.src.rpm rpmbuild --nodeps --define="_topdir $PWD" -rp ./systemd-*.src.rpm # Little hack to get to the correct directory without having to figure out # the exact name