On 27 Dec 2002, Yogesh Hasabnis wrote:

> Thanks! But again how to modify the source code in that src.rpm
> Suppose that I just need to comment out one statement in the code.

rpm -ivh it, that should put the code in /usr/src/redhat/SOURCES, expand
the tarball and apply the changes either manually or through a patch file.
then do an rpm -ba on the spec file. You might need to tweak the spec file
a bit if it tries to apply patches which might fail after your changes.
You can comment those portions of in the spec file and apply all the
patches manually.

You will endup with the package intalled with your changes and a binary
rpm which you can distribute

-- sreangsu



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to