fix conditional expression for rpm builder #869