replaced OUTPUT_DIR define with _rpmdir directly