Hide Forgot
It would be nice if the template spec file included in vim-common were closer to the current Fedora Packaging guidelines. Some issues with the current template: 1) It defines a BuildRoot using mktemp 2) It contains a %clean section 3) It has a %defattr line in the %files section I understand that these are all necessary for older distros (such a RHEL 5), but I think F16 vim should have a template that matches F16 guidelines.
Created attachment 558584 [details] Diff between the vim template.spec and that produced by rpmdev-newspec Agreed: I've had to do a lot of clean-up on my recent packages because I inadvertently ended up using the template spec. The differences between that template and the template created by "rpmdev-newspec" are actually quite minimal. The sample template uses tabs while the rpmdev one uses spaces, but aside from that, the only differences are included in the attached diff. Maybe the vim build process could be changed to use rpmdev-newspec instead of including the template spec (currently %Source14)?
I don't want to add a dependency on rpmdevtools just for the spec file template. I've updated the template instead. http://koji.fedoraproject.org/koji/taskinfo?taskID=3768958