Fixes: https://pagure.io/koji/issue/2640
All these tests should happen in final part of command (on buildcfg). Otherwise you'll call getBuildConfig more times than needed. It should raise different warning if there are no archs in the tag than if arch is not in that list. It would be confusing otherwise.
rebased onto 7d58284b4e860c591a4baa1524fb14a02cdde0e4
rebased onto 694d7ef8df5459892b41ccef0a790da49c6285ac
@tkopecek fixed
rebased onto fd53b5581cf1ad9a1c6e76b03725f6a919b9f13a
:thumbsup:
Metadata Update from @tkopecek: - Pull-request tagged with: testing-ready
rebased onto 8d435821c0124a8f6ae51222c2fd7fb966872f61
Metadata Update from @mfilip: - Pull-request tagged with: testing-done
Commit 7665ea83 fixes this pull-request
Pull-Request has been merged by tkopecek
Fixes: https://pagure.io/koji/issue/2640