openSUSE / libsolv

Library for solving packages and reading repositories
http://en.opensuse.org/openSUSE:Libzypp_satsolver
Other
509 stars 151 forks source link

Don't build Python 2 bindings on SLE-15-SP4 or more recent. #524

Closed mcepl closed 4 months ago

mcepl commented 1 year ago

Replacement of #455.

See long discussion on this PR there.

mcepl commented 1 year ago

@mlandres Could I ask for the review, please?

mlschroe commented 1 year ago

I don't see why you need to move the %{with python} test before the %package -n python-solv line. We don't do that for the other languages. If the filelist is empty, the subpackage will not be created.

mlschroe commented 1 year ago

Just do one commit that changes just the bcond line, please.

mlschroe commented 4 months ago

Done with the new singlespec mode.