replaced OUTPUT_DIR define with _rpmdir directly
also replaced SOURCE_ROOT with sourceroot