On 23 May 2015 08:13:40 CEST, ToddAndMargo <[email protected]> wrote:
>Hi All,
>
>I have a src rpm.  What is the easiest way to go into it,
>edit the spec file, get back out?
>
>Many thanks,
>-T


As your ordinary user (not root):

$ rpm -i whatever.src.rpm
$ cd ~/rpmbuild/SPECS
$ vim/emacs/gedit whatever.spec
$ rpmbuild -bs whatever.spec

Remeber that you should normally increase the Release tag number and add an 
entry in the %changelog section towards the end. You can alsorun rpmlint on the 
spec file to do some sanity checks.
--
kind regards,

David Sommerseth

Reply via email to