tell mock target=noarch when building srpms

This commit is contained in:
Mike McLean 2014-05-12 13:43:45 -04:00
parent 5816ed5cc3
commit 28386ee4d3

View file

@ -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)