From 1691030fc3ff3e9176fd6401d8bd972ac87dbc76 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Thu, 28 Jul 2022 14:38:43 -0700 Subject: [PATCH] exclude packages from extras for certain arches --- extra.cfg | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/extra.cfg b/extra.cfg index 1680614..4fd5526 100644 --- a/extra.cfg +++ b/extra.cfg @@ -83,4 +83,24 @@ package { } } - +# s390x, ppc64le, x86_64 are not considered altarch. s390x does not have +# rpmfusion packages for obvious reasons. elrepo does not exist for +# aarch64 yet, but will. +exclude_filter { + repo_match: "^extras$" + arch { + key: "s390x" + glob_match: "rocky-release-rpi" + glob_match: "rocky-release-elrepo" + glob_match: "rocky-release-altarch" + glob_match: "rpmfusion-free-release" + glob_match: "elrepo-release" + } + arch { + key: "ppc64le" + glob_match: "rocky-release-rpi" + glob_match: "rocky-release-elrepo" + glob_match: "rocky-release-altarch" + glob_match: "elrepo-release" + } +}