On 01/12/2018 06:08 AM, Luya Tshimbalanga wrote:
On 2018-01-11 01:02 PM, Troy Dawson wrote:
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 _______________________________________________
Quick question: why not using %global rather than %define ?
Probably old habit from times before %define got unnecessarily demonized within Fedora. FWIW, both achieve exactly the same thing in this context.
- Panu -