some functions for rpm info