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: <opensuse@opensuse.org> <agirardet@novell cc: .com> Subject: Re: [opensuse] Creating new packages for OpenSuSE 09/08/2005 10:20 AM Please respond to opensuse FYI http://www.opensuse.org/SUSE_Build_Tutorial --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. This message may be an attorney-client communication and/or work product and as such is privileged and confidential. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
-----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) <Matthew.Schwartz@med.ge.com> 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
participants (2)
-
Paul Beltrani
-
Schwartz, Matthew (GE Healthcare)