From e41480d054ca84a7e58e78fa2f68d642a98a75fb Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Mon, 10 Jun 2024 11:25:49 -0400 Subject: [PATCH] TMT: fix srpm download syntax on rawhide Signed-off-by: Lokesh Mandvekar --- test/podman-tests.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/podman-tests.sh b/test/podman-tests.sh index 573df5d..50a29e2 100644 --- a/test/podman-tests.sh +++ b/test/podman-tests.sh @@ -47,9 +47,8 @@ pushd $PODMAN_DIR # Download podman and podman-tests rpms, along with podman srpm dnf download podman podman-tests -# `dnf download podman` fetches main podman rpm and podman srpm on dnf5, only -# the rpm on older dnf versions, so we download srpm separately on those envs -rpm -q dnf5 || dnf download --source podman +# Download srpm, srpm opts differ between dnf and dnf5 +rpm -q dnf5 && dnf download --srpm podman || dnf download --source podman # Ensure podman-tests RPM and podman SRPM version-release match # NOTE: podman RPM and podman-tests RPM matching is ensured by podman.spec so