Overview
Loading...
Request History
sbluhm created request
Runtime and Build dependency for spacewalk-backend-sql-postgresql.
juliogonzalezgil accepted request
It's funny, this part seems to be broken:
13+ %if 0%{?rhel} > 7
14+ %bcond_with python2
15+ %bcond_without python3
16+ %bcond_with python2_debug
17+ %bcond_without python3_debug
RHEL8 (and clones) should use python3, and not python2.
But since AlmaLinux does not evaluate here, it uses the else, which is the opposite (builds python3, but not python2).
Accepting.
I think you misread. Alma does evaluate on %if 0%{?rhel} > 7. But the bcond logic is reverse 14+ %bcond_with python2 15+ %bcond_without python3 16+ %bcond_with python2_debug 17+ %bcond_without python3_debug
bcond_with = option is available and has to be set to be used (rpmbuild --with python2). bcond_without = if you want to disable this option, set it (rpmbuild --without python3).