Kevin O'Connor wrote:
+`make EXTRAVERSION="-${RPM_PACKAGE_RELEASE}"`
That'll work, but 'make EXTRAVERSION="-%{release}"' is the shorter and more common way to say this.
In the context of an example, however, the ${RPM_PACKAGE_RELEASE} seems a little more descriptive. That is, someone not an expert at RPM should get the gist of it, and an expert at RPM should know enough to use the preferred syntax anyway. I'll change it if you think it should be different though.
I agree with you Kevin, I don't think it should be changed.
//Peter