RE: [opensuse] Creating new packages for OpenSuSE
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
Matthew
-----Original Message-----
From: Uriel_Carrasquilla@ncci.com [mailto:Uriel_Carrasquilla@ncci.com]
Sent: Thursday, September 08, 2005 11:09 AM
To: opensuse@opensuse.org
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).
How can I make changes to the source (I know, use the editor but keep
reading) and still make sure that my "rpm" is valid?
How can I then generate a binary RPM ready for distribution? can I use yast
for this purpose? or is it some rpm commands?
Regards,
Uriel
greetings / avec mes meilleures salutations / Cordialmente
mit freundlichen Grüßen / Med vänlig hälsning
"Andreas
Girardet" To:
-----Original Message----- From: Uriel_Carrasquilla@ncci.com [mailto:Uriel_Carrasquilla@ncci.com] ... 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)
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
participants (2)
-
Paul Beltrani
-
Schwartz, Matthew (GE Healthcare)