Hi, Am 05.01.21 um 08:40 schrieb Mathias Homann:
~snowglobe/python-autobuild?
* You are incorrectly using python_module for Requires. Still the case. * The error comes from skip_python3 being defined for Tumbleweed. Your %pythons is empty then. The check for sle_version is not working as intended
Could you have a look at the specfile again? I **think** i got everything right now, at least it builds (on anything << TW, the source itself isn't ready for python3 yet... yes, i know, i know, you don't have to point out how stupid that is...).
So the skip_python3 on Tumbleweed *is* intended. Are you aware, that Tumbleweed only has a few base packages left providing python2? You need to re-enable python2 for autobuild and all its dependencies. With singlespec, OBS needs that redefinition in the prjconf. That makes it impossible to submit the package into Factory. If you only build for the python2 flavor, you don't need singlespec at all! Remove the %python_subpackages macro and python_module redefinition and calls. Remove update-alternatives. You can still use python2_build python2_install, python2_sitelib and so on.
Now the next battle: get that crap to properly build from the same spec file for Leap, TW, AND fredora... o.0
Cheers Mathias