mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 12:12:47 +00:00
Avoid double builds with mock
According to mock man page the default behavior without a command flag is to run --rebuild. This change avoids what is essentially doing --rebuild twice.
This commit is contained in:
parent
18babd175f
commit
dcd355949e
1 changed files with 0 additions and 3 deletions
|
@ -1150,9 +1150,6 @@ class MockBuilder(Builder):
|
|||
else:
|
||||
print("Skipping mock --init due to speedup option.")
|
||||
|
||||
print("Installing deps in mock...")
|
||||
run_command_func("mock %s -r %s %s" % (
|
||||
self.mock_cmd_args, self.mock_tag, self.srpm_location))
|
||||
print("Building RPMs in mock...")
|
||||
run_command_func('mock %s -r %s --rebuild %s' %
|
||||
(self.mock_cmd_args, self.mock_tag, self.srpm_location))
|
||||
|
|
Loading…
Add table
Reference in a new issue