Re: rpmbuild question - follow on to gcc issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2009-02-10 at 11:58 -0500, [email protected] wrote:
> On Tue, 10 Feb 2009 10:52:14 -0500
> Steve <[email protected]> wrote:
> > the src rpm contains a number of patches
> > and one of the patches is to the file I want to modify.
> > Now when I rpmbuild, the patching fails because the
> > source file it is trying to patch doesn't look the same.
> > 
> > What is the Fedora way of dealing with this situation?
> > 
> Once you modify a package your warranty is null and void ;-)
> 
> Edit the patch and make a note in the spec file. 

I was going to suggest "rpmbuild -bp" which unpacks and applies included
patches.  Then edit the patched file and create a patch of your own.
Add it to the spec file after the other patch, so yours is applied after
the included one.  Then do the full build.

> 
-- 
                Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs

-- 
fedora-list mailing list
[email protected]
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux