https://bugzilla.redhat.com/show_bug.cgi?id=1246199
--- Comment #12 from Neal Gompa ngompa13@gmail.com ---
I wanted to wait until it's supported in latest EL to avoid %if but OK, I'll pave the way ;)
I'm not sure how it could get supported in EL7, since RPM 4.11 and Yum don't support it. We'd be waiting for EL8...
Just do "%if 0%{?fedora} || 0%{?rhel} >= 8"