Title: #5367: Use uglifyjs on CentOS too
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.
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5367/head:pr5367
git checkout pr5367