On Thu, 2019-04-25 at 19:33 +0200, Miro HronĨok wrote:
On 25. 04. 19 18:38, Nico Kadel-Garcia wrote:
How much is going to be needed for "mock" to still work for older operating systems?
I'm confused. How is the change relevant for mock? I think I'm missing some pieces of the thought process here, could you please elaborate on that?
mock defaults to setting up buildroots for older OSes with yum, from the containing OS' side. yum is python2-only. So a py2-less host OS can't build for older OSes, without some finagling. In fact currently mock _defaults_ to yum, even for newer OSes, so removing python2 breaks mock's default invocation.
Vaguely related, there's no way to pass --yum or --dnf to fedpkg mockbuild. I've filed a bug about this, which has gotten no attention:
https://pagure.io/rpkg/issue/413
- ajax