ln -s /var/log/$SERVICE_NAME $RPM_INSTALL_PREFIX/logs || :
In the rpm spec file every line ends with || :
|| :
What is the
`||` is OR operator. `:` means "do nothing".
Your statement says, "do the soft linking or do nothing"