rpmbuild question - follow on to gcc issues
Matthew Saltzman
mjs at clemson.edu
Tue Feb 10 20:47:33 UTC 2009
On Tue, 2009-02-10 at 11:58 -0500, homburg at tips-Q.com wrote:
> On Tue, 10 Feb 2009 10:52:14 -0500
> Steve <zephod at cfl.rr.com> 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
More information about the fedora-list
mailing list