Skip to content

Commit

Permalink
TMT: fix srpm download syntax on rawhide
Browse files Browse the repository at this point in the history
Signed-off-by: Lokesh Mandvekar <[email protected]>
  • Loading branch information
lsm5 committed Jun 10, 2024
1 parent 5486bd3 commit e41480d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/podman-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e41480d

Please sign in to comment.