Gary Buhrmaster wrote:
On Wed, Jun 17, 2020 at 5:41 AM Igor Raits
<ignatenkobrain(a)fedoraproject.org> wrote:
>
> %if (0%{?rhel} && 0%{?rhel}) <= 8 || (0%{?fedora} && 0%{?fedora}
<= 32)
>
Yes, I have written such spec file lines, and while
they are correct, they tend to be ugly to parse for
humans.
Apparently also to linearize (unparse), as evidenced by the typo (misplaced
closing parenthesis) in Igor's line. :-) (Hint: Comparing a boolean
expression with 8 does not make sense.)
Kevin Kofler