fedora-helper: Use repo_local for local RPMs
Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
This commit is contained in:
parent
b09a48a0c1
commit
f74d7a19ae
1 changed files with 2 additions and 2 deletions
|
@ -139,9 +139,9 @@ def get_binary_license(ctx, source, add, verbose):
|
||||||
|
|
||||||
repo_local = pool.add_repo("local")
|
repo_local = pool.add_repo("local")
|
||||||
repo_local.priority = 99
|
repo_local.priority = 99
|
||||||
s = repo.add_rpm(source)
|
s = repo_local.add_rpm(source)
|
||||||
for f in add:
|
for f in add:
|
||||||
repo.add_rpm(f)
|
repo_local.add_rpm(f)
|
||||||
|
|
||||||
pool.addfileprovides()
|
pool.addfileprovides()
|
||||||
pool.createwhatprovides()
|
pool.createwhatprovides()
|
||||||
|
|
Loading…
Reference in a new issue