From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20030131
Description of problem:
It would be fair to have a default user-defined epoch and a default user-defined
release tag for new spec file.
Please look at the (short) patch against the rpm-spec-mode.el file.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. emacs &
2. C-x C-f foo.spec RET
Actual Results: For the release tag :
and no epoch tag.
Release tag to have the rpm-spec-default-release value instead of "1".
Mandrake packagers could have 1mdk, fedora packagers "0.fdr.1", Matthias Saou
from freshrpms.net fr1, etc.. whatever. Useful thing. (i think).
Created attachment 91548 [details]
Patch against rpm-spec-mode.el
I agree about default release, but the need for a default epoche seems
more dubious to me (epoches should be avoided as far as possible).
At least I don't think epoche should be included when there isn't a default.
(Btw I prefer unified diffs ("diff -u").)
Please send your patch to the maintainer of rpm-spec-mode.el:
Stig BjÃ¸rlykke <email@example.com>, so that he can include it
in the next release.