From f74d7a19ae0162f7c0164a8538ada2e1ca56e5ab Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Fri, 19 Jun 2020 06:44:13 +0200 Subject: [PATCH] fedora-helper: Use repo_local for local RPMs Signed-off-by: Igor Raits --- tools/fedora-helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/fedora-helper.py b/tools/fedora-helper.py index 1799c9a..b2fb39d 100755 --- a/tools/fedora-helper.py +++ b/tools/fedora-helper.py @@ -139,9 +139,9 @@ def get_binary_license(ctx, source, add, verbose): repo_local = pool.add_repo("local") repo_local.priority = 99 - s = repo.add_rpm(source) + s = repo_local.add_rpm(source) for f in add: - repo.add_rpm(f) + repo_local.add_rpm(f) pool.addfileprovides() pool.createwhatprovides()