prepare for rpm packaging