Fix rpm spec for os tag check