changelog format

Karsten Hopp karsten at redhat.com
Tue Apr 21 09:58:39 UTC 2009


Am 20.04.2009 20:23, schrieb Iain Arnell:
> On Mon, Apr 20, 2009 at 7:55 PM, Michael Schwendt<mschwendt at gmail.com>  wrote:
>> Emacs/XEmacs users can use  M-x rpm-add-change-log-entry  as provided by
>> rpmdevtools.
>
> vim users can use<LocalLeader>-c (without needing rpmdevtools - and
> come nowhere close to "accidentally" hitting ctrl-alt-del)
>

Some additional info on this...
I have this in my .vimrc:
let g:packager = "Karsten Hopp <karsten at redhat.com>"
let g:spec_chglog_release_info = 1

As vim figures out the nvr automatically, the usual steps are
- bump release
- edit whatever in the spec file
- <LocalLeader>-c
- enter changelog text

This gets you a valid changelog entry with the correct date and nvr


    Karsten


--
The main difference between vi and emacs is that someone who runs vi the
first time, is unable to quit it, while someone who runs emacs the first
time, is unable to quit it.




More information about the devel mailing list