Closed frispete closed 6 years ago
Yes the python base on old distros didnt contain: Provides: python2 = %{version}
As both 13.2 and 42.1 are year+ without support just add patch for python package yourself.
The last attempt you are shooting yourself to leg so it would never work.
Ehm, sorry, but bugs on unsupported distributions just won't be fixed here. You can make your personal project on OBS, but we won't do anything about it.
In an attempt to build python packages with
%pythons
build requirements, I tried to define this macro correctly, but failed so far.attempt: no
%pythons
definition results in:nothing provides %{pythons}
for Leap 42.* and belowattempt:
results in:
nothing provides python2
for13.2
and42.1
, although python-base has /usr/bin/python2, but proably isn't providing it directly. While at it, an additionalFileProvides: /usr/bin/python2 python-base
doesn't cut it as well.attempt:
results in:
That one is the most disturbing one. It looks like the
%pythons
macro interferes with%python_subpackages
here for13.2
and42.1
.I'm running out of ideas right now. I can remove that requirement in the spec of course, or protect it with a conditional, but a proper fix would be preferable.
I've setup a test repo here, where I try to build
python-hypothesis
without manual intervention.Any hints are much appreciated.