Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Red Hat Linux (http://www.linux-archive.org/red-hat-linux/)
-   -   patching a rpm source package (http://www.linux-archive.org/red-hat-linux/235406-patching-rpm-source-package.html)

Ezra Taylor 01-27-2009 04:51 PM

patching a rpm source package
 
All:
I have a source rpm package I downloaded from redhat and want to
add a patch to the package. How do I perform this task?

--
Ezra Taylor
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Marcos Aurelio Rodrigues 01-27-2009 09:50 PM

patching a rpm source package
 
Edit the spec and add:


Patch0: name.patch

at the %prep after the %setup

%patch0 -p1


But, you can read
http://www.rpm.org/max-rpm/

[]s
Marcos




On Tue, Jan 27, 2009 at 3:51 PM, Ezra Taylor <ezra.taylor@gmail.com> wrote:

> All:
> I have a source rpm package I downloaded from redhat and want to
> add a patch to the package. How do I perform this task?
>
> --
> Ezra Taylor
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Ezra Taylor 01-27-2009 11:14 PM

patching a rpm source package
 
Thanks Marcos

On Tue, Jan 27, 2009 at 5:50 PM, Marcos Aurelio Rodrigues <
deigratia33@gmail.com> wrote:

> Edit the spec and add:
>
>
> Patch0: name.patch
>
> at the %prep after the %setup
>
> %patch0 -p1
>
>
> But, you can read
> http://www.rpm.org/max-rpm/
>
> []s
> Marcos
>
>
>
>
> On Tue, Jan 27, 2009 at 3:51 PM, Ezra Taylor <ezra.taylor@gmail.com>
> wrote:
>
> > All:
> > I have a source rpm package I downloaded from redhat and want to
> > add a patch to the package. How do I perform this task?
> >
> > --
> > Ezra Taylor
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



--
Ezra Taylor
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


All times are GMT. The time now is 02:29 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.