I am tired of having to re-write, manually, all the .rpmnew files that appear when I upgrade. Most of them don't need to be diff'ed, in my case at least.

For example, I just diff the httpd.conf file and that's it so, here's a script to overwrite .rpmnew into the original:

find . -iname '*.rpmnew' | while read f; do mv -f $f ${f%.rpmnew}; done

Thanks zcat, from irc://freenode/fedora