Soory, I should have sayed that I'm using -Uhv but rpm does not give this information into the %pre %post scripts ($1). So -Uhv does not work it out.