simplified deleting previous rpm's
also, moved to %install macro