From 5f2c396c95049082a240150ed59c4af5f49d1028 Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Tue, 30 Apr 2024 17:24:51 +0200 Subject: [PATCH] Use --repoid --all as we do in mtps-run-tests. Needed in RHEL 7. --- mtps-get-task | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mtps-get-task b/mtps-get-task index b57dcc3..6d682d5 100755 --- a/mtps-get-task +++ b/mtps-get-task @@ -779,9 +779,8 @@ echo "$repo_file_text" # Query packages in the created repo nevras_in_repo="$( - repoquery \ - --qf "%{repoid} %{name}-%{epoch}:%{version}-%{release}.%{arch}" \ - --repo "$repo_name" 2>&1 | \ + repoquery --repoid=${repo_name} --all \ + --qf "%{repoid} %{name}-%{epoch}:%{version}-%{release}.%{arch}" 2>&1 | \ sed -n -e "/^${repo_name}[[:space:]]/ s/^${repo_name}[[:space:]]//p" )" # Exclude SRPMs