Use yum to install rpm
Simplify a condition