Fix bug 1101779

RPM can't handle directories being replaced by symlinks and
thus %pretrans workaround is needed.