add arches to module-tag (not just build-tag)

* this fixes issue that pungi can't discover arches for compsing module from tag

Signed-off-by: Lubos Kocman <lkocman@redhat.com>
This commit is contained in:
Lubos Kocman
2016-08-03 10:10:39 +02:00
parent 8fdae07e7e
commit ad3eb578fb

View File

@@ -350,7 +350,7 @@ chmod 644 %buildroot/%_rpmconfigdir/macros.d/macros.modules
"""
log.info("%r preparing buildroot." % self)
self.module_tag = self._koji_create_tag(
self.tag_name, perm="admin") # returns tag obj
self.tag_name, self.arches, perm="admin") # the main tag needs arches so pungi can dump it
self.module_build_tag = self._koji_create_tag(
self.tag_name + "-build", self.arches, perm="admin")