pass rpmversion to prep.sh instead of trying to recompute it from the specfile