Visit the RedHat website. Somewhere under Documentation, you will find Maximum RPM, a 700+ page book about rpm: everything, literally EVERYTHING about rpm. That includes how to make and edit a spec file to change the name of the resultant .rpm or .src.rpm when building source or binary rpms. See especially chapter 11 (building packages) and chapter 13 (package naming tags).
Last edited by bigrigdriver; 09-09-2005 at 09:22 PM.