Pass --target instead of --arch to mock.
--target is now it's own argument that only applies to what is passed to rpm-build. setarch call is not affected by --target which is what we want.
This commit is contained in:
parent
db8486e61d
commit
c939b34ff6
1 changed files with 1 additions and 1 deletions
|
|
@ -458,7 +458,7 @@ class BuildRoot(object):
|
|||
session.host.setBuildRootState(self.id,'BUILDING')
|
||||
args = ['--no-clean']
|
||||
if arch:
|
||||
args.extend(['--arch', arch])
|
||||
args.extend(['--target', arch])
|
||||
args.extend(['--rebuild', srpm])
|
||||
rv = self.mock(args)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue