Simplify bash conditionals in specfiles