Only checking for ID to equal "rhel" causes build failures on CentOS Stream. Instead check both ID and ID_LIKE. This should also work later on when rebuilds like CentOS Linux get this update. Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>