Description of problem: Don't define a buildroot or remove it in %install. Soon, you wouldn't need a %clean section either.
I plan to revisit this issue when there's a version of RHEL out whose rpm supports these features.
Well, don't know the timeframe for that but I don't think it is going to be soon. Meanwhile if you can use a template for Fedora which is different from the EPEL version, that would be useful to get rid of some spec file clutter.
I have no plans to do that at the moment. Getting rid of that stuff from specfiles is pure cosmetics and low priority compared to the trouble it would cause for people rolling new packages for both Fedora and EPEL (not that much, but anyway an unnecessary burden) - in my opinion the basic constructs of specfiles generated by rpmdev-newspec should work at least for the latest EPEL version.
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
This message is a reminder that Fedora 12 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 12. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '12'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 12's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 12 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
newspec now filters constructs from spec templates that are not needed in the target rpm verson. The target rpm version is the system rpm version by default, and can be changed with for example RPMVER=4.4 in ~/.config/rpmdevtools/newspec.conf