From d2e9ccefdea7bcd861454265b7f8de93a9f3a73f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Wed, 14 Feb 2024 14:41:02 +0100 Subject: [PATCH] Fix filters for DNF query MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lubomír Sedlář --- pungi/gather_dnf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pungi/gather_dnf.py b/pungi/gather_dnf.py index 4ff23aa5..96c7005b 100644 --- a/pungi/gather_dnf.py +++ b/pungi/gather_dnf.py @@ -49,8 +49,8 @@ def filter_dotarch(queue, pattern, **kwargs): if "." in pattern: name, arch = pattern.split(".", 1) if arch in arch_utils.arches or arch == "noarch": - kwargs["name_glob"] = name - kwargs["arch_eq"] = arch + kwargs["name__glob"] = name + kwargs["arch"] = arch return queue.filter(**kwargs).apply()