DevHeads.net

Python3 will be in next major RHEL release, please adjust %if statements accordingly

Hello,
Python3 will be in the next major RHEL release. I don't mean RHEL
7.6, but with numbers higher than 7.
There are many, many packages with something like the following

if 0%{?fedora}
%define with_python3 1
%endif

If you have something like that, please change it to something like this.

if 0%{?fedora} || 0%{?rhel} > 7
%define with_python3 1
%endif

Thank You