> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
...
> Subject: Re: [opensuse] Creating new packages for OpenSuSE
> 
> I have a question that I am sure if for lack of education.
> I have a "source" rpm package that I need to modify (i.e. change some of
> the "c" programs).
...


On 9/8/05, Schwartz, Matthew (GE Healthcare)
<[EMAIL PROTECTED]> wrote:
> Frist you need to install the source SRPM
> 
> Rpm -ivh filename.srpm
> 
> Then edit the c code
> 
> Then rebuild the rpm
> 
> Rpmbuild -ba filename.spec

Take advantage of RPM's "patch" functionality.  Using this method,
your modifications are supplied as a separate file(s) within the
source RPM.  These files are then used to  automatically patch the
"official" source at build time.  A quick net search will give you
more information on how to do this.

In addition, you may want to check out the SUSE Package Conventions
available at 
http://forge.novell.com/modules/xfref_library/detail.php?tab=doc&reference_id=1544&group=1367

  - Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to