On 7/20/2021 0:50, Dominique Leuenberger / DimStar wrote:
The error in your build is actuially
[ 68s] + /usr/bin/cat /home/abuild/rpmbuild/SOURCES/fix-tests.patch [ 68s] The text leading up to this was: [ 68s] -------------------------- [ 68s] |--- a/colander/tests/test_colander.py [ 68s] |+++ b/colander/tests/test_colander.py [ 68s] -------------------------- [ 68s] File to patch: [ 68s] Skip this patch? [y] [ 68s] 5 out of 5 hunks ignored [ 68s] error: Bad exit status from /var/tmp/rpm-tmp.UU9ihb (%prep)
The rpmlint obsoletes not recommended is just that - not recommended; it does not fail the build (on its own)
Thanks for the two pointing out what I missed. Here's another question: how do I do a conditional BuildRequires? The Python Packaging wiki page says "For projects inheriting their project configuration from openSUSE:Factory or devel:languages:python:backports, you can reference the Python version of the expanded flavor itself by using the pseudo %python macro (don't define %python anywhere else): BuildRequires: %{python_module aiocontextvars >= 0.2.2 if %python-base < 3.7}" But this doesn't appear to be working in the Leap 15.3 build (I'm guessing the project config doesn't inherit from openSUSE:Factory or devel:languages:python:backports?). I'm trying to include enum34 for any Python before 3.4. thanks, -- Jason Craig