Do not set RPMDIST to '%dist' when dist is not set by the distribution.