Nice %changelog entries
When updating a rpm package it is nice to include a summary of the changes made since the last time. anaconda does this with a nifty script written by dcantrell called makebumpver which also enforces some RHEL rules and handles changing the version. I only needed the changelog part of this so I modified the script a bit to remove the extras:
#!/usr/bin/python # # git-changelog - Output a rpm changelog # # Copyright (C) 2009-2010 Red Hat, Inc.