From 9e710a3d66fa9af406100941e8a90f7805ecb54a Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Sun, 10 Mar 2024 15:46:22 -0700 Subject: [PATCH] Always use exact match when looking for source packages by name --- ubuntu-build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ubuntu-build b/ubuntu-build index 69d0086..dd903a4 100755 --- a/ubuntu-build +++ b/ubuntu-build @@ -212,6 +212,7 @@ def main(): try: sources = archive.getPublishedSources( distro_series=distroseries, + exact_match=True, pocket=pocket, source_name=package, status='Published')[0] @@ -386,6 +387,7 @@ def main(): try: pkg = archive.getPublishedSources( distro_series=distroseries, + exact_match=True, pocket=pocket, source_name=pkg, status='Published')[0]