prevent bash from bailing out on "if" clauses with empty list by artifically insert a dummy command to the list; another approach would be to wrap the whole bash "if" construct or the whole rpm section into a huge rpm preprocessor %if but it is unlikely that the result becomes more readable to package maintainers