Skip to content

Commit

Permalink
mock: fix dynamic buildrequires unnecesarry loop
Browse files Browse the repository at this point in the history
per discussion here: rpm-software-management/rpm#963
Mock should accept return code 0 from rpm.
  • Loading branch information
hrnciar committed Mar 4, 2020
1 parent 3513959 commit 84dc7a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mock/py/mockbuild/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,7 @@ def get_command(mode):
except Error as e:
if e.resultcode != 11:
raise e
finally:
max_loops -= 1
self.buildroot.root_log.info("Dynamic buildrequires detected")
self.buildroot.root_log.info("Going to install missing buildrequires")
Expand Down

0 comments on commit 84dc7a7

Please sign in to comment.