tell mock target=noarch when building srpms
This commit is contained in:
parent
5816ed5cc3
commit
28386ee4d3
1 changed files with 2 additions and 1 deletions
|
|
@ -419,7 +419,8 @@ class BuildRoot(object):
|
|||
self.expire()
|
||||
raise koji.BuildError, "error retrieving sources, %s" % self._mockResult(rv)
|
||||
|
||||
args = ['--no-clean', '--buildsrpm', '--spec', specfile, '--sources', sourcedir]
|
||||
args = ['--no-clean', '--buildsrpm', '--spec', specfile, '--sources', sourcedir,
|
||||
'--target', 'noarch']
|
||||
|
||||
rv = self.mock(args)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue