From 6f1ac1b126bc78d46fdeeda6e61696b74417ade1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 19 Aug 2024 17:03:55 +0200 Subject: [PATCH] CI: There is no EPEL 10 Next, use plain EPEL mock chroots on RHEL 10+ --- tests/mocktest.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/mocktest.sh b/tests/mocktest.sh index c32bca3..9cfad81 100755 --- a/tests/mocktest.sh +++ b/tests/mocktest.sh @@ -13,7 +13,14 @@ case $NAME in ;; "CentOS Stream"|"Red Hat Enterprise Linux") - mock="centos-stream+epel-next-${version}-${arch}" + case $version in + 9) + mock="centos-stream+epel-next-${version}-${arch}" + ;; + *) + mock="centos-stream+epel-${version}-${arch}" + ;; + esac repos="local,local-centos-stream" ;;