openSUSE / libsolv

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

Build python bindings for all python flavors #532

Closed danigm closed 8 months ago

danigm commented 1 year ago

This patch uses the python-rpm-macros to build the python bindings for all python flavors defined in the project.

Conan-Kudo commented 1 year ago

This will break the build for non-SUSE distributions.

danigm commented 1 year ago

This will break the build for non-SUSE distributions.

Sorry, I'll try to update this change to make it compatible with non-SUSE

danigm commented 1 year ago

I've updated the PR to do this with a flag %singlespec_py3 that's just for modern SUSE versions.

mlschroe commented 8 months ago

I solved this a bit different. Tested with SLE15 SP4, I hope that it also works for Tumbleweed...