You can do "--define 'release 0.1'" on the rpmbuild line. I've been making packages named something like spamassassin-3.0.0-svn20963 for a while now.
For the pre build, yeah, rename it then build. It's the easiest thing to do.
Cool, thanks.
BTW, I thought this might be good wiki fodder, and then discovered there's no pages there that would be relevant. I figured there'd be something on building and packaging. Am I missing them?
