The one actual diff -%if 0%{?rhel} == 7 +%if 0%{?rhel} == 7 || (0%{?rhel} == 8 && %{rhel8_minor_version} >= 9) is instead to be applied to rhel-* branches to stay in sync.